Convert the core lexer and parser into fully reentrant code, by making use
authorTom Lane <[email protected]>
Mon, 13 Jul 2009 02:02:20 +0000 (02:02 +0000)
committerTom Lane <[email protected]>
Mon, 13 Jul 2009 02:02:20 +0000 (02:02 +0000)
commit44210093ff313a713fd563f2740628f3bdac0c67
tree67926eb81b482057353a9874e756c3651dc96662
parent023af169ba60848dd3971551f4fd6024142a5689
Convert the core lexer and parser into fully reentrant code, by making use
of features added to flex and bison since this code was originally written.
This change doesn't in itself offer any new capability, but it's needed
infrastructure for planned improvements in plpgsql.

Another feature now available in flex is the ability to make it use palloc
instead of malloc, so do that to avoid possible memory leaks.  (We should
at some point change the other lexers likewise, but this commit doesn't
touch them.)
src/backend/nls.mk
src/backend/parser/gram.y
src/backend/parser/parser.c
src/backend/parser/scan.l
src/include/parser/gramparse.h