Separate the key word list that lived in keywords.c into a new header file
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 7 Mar 2009 00:13:58 +0000 (00:13 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 7 Mar 2009 00:13:58 +0000 (00:13 +0000)
commitf17f1771219f3c08f0c4b905416f00c0184204a9
treede05721698eff60cfa4846b36aaee64f4cff2fbb
parente35c99b7bc3845a5f880a818c44bde639887c0ec
Separate the key word list that lived in keywords.c into a new header file
kwlist.h, to avoid having to link the backend object file into other programs
like pg_dump.  We can now simply symlink a single source file from the backend
(kwlookup.c, containing the shared routine ScanKeywordLookup) and compile it
locally, which is a lot cleaner.
src/backend/parser/Makefile
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/parser/kwlookup.c [new file with mode: 0644]
src/bin/pg_dump/Makefile
src/bin/pg_dump/keywords.c [new file with mode: 0644]
src/bin/psql/Makefile
src/bin/scripts/Makefile
src/include/parser/kwlist.h [new file with mode: 0644]
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/keywords.c [new file with mode: 0644]