]> granicus.if.org Git - postgresql/commit
Tweak scanner/grammar interface so that the keyword-as-identifier rules
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2002 18:44:11 +0000 (18:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2002 18:44:11 +0000 (18:44 +0000)
commit3220fd2138f9ed12796fef22517110a7ad30ead3
tree6d066d3c99a754de2968216e3ab32f086199cd1d
parent0041a3d72f155a1143e79a63a7fd297139c29882
Tweak scanner/grammar interface so that the keyword-as-identifier rules
in gram.y can make use of the keywords.c string table, instead of having
their own copies of the keyword strings.  This saves a few kilobytes and
more importantly eliminates an opportunity for cut-and-paste errors.
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/parser/scan.l
src/backend/utils/adt/ruleutils.c
src/include/parser/keywords.h