]> granicus.if.org Git - postgresql/commit
Remove plpgsql's separate lexer (finally!), in favor of using the core lexer
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Nov 2009 00:13:00 +0000 (00:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 12 Nov 2009 00:13:00 +0000 (00:13 +0000)
commit2dee828cacfe58f6babe2c86f95bf106c8060ca4
tree51b4d9fc623507caecd337bd35167c26571dec02
parent60cd1f182943448eeb662b0f73ecb985ad9cc26e
Remove plpgsql's separate lexer (finally!), in favor of using the core lexer
directly.  This was a lot of trouble, but should be worth it in terms of
not having to keep the plpgsql lexer in step with core anymore.  In addition
the handling of keywords is significantly better-structured, allowing us to
de-reserve a number of words that plpgsql formerly treated as reserved.
18 files changed:
src/backend/parser/scan.l
src/backend/parser/scansup.c
src/bin/psql/psqlscan.l
src/pl/plpgsql/src/.cvsignore
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/nls.mk
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/pl_scanner.c [new file with mode: 0644]
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l [deleted file]
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql
src/tools/msvc/Mkvcbuild.pm
src/tools/msvc/Project.pm
src/tools/msvc/clean.bat
src/tools/msvc/pgflex.bat