Fix filtered_base_yylex() to save and restore base_yylval and base_yylloc

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 79a0a5758143a9b787069d620dae8cd52dd0601a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-01-06T19:14:27Z
Releases: 8.2.2
Fix filtered_base_yylex() to save and restore base_yylval and base_yylloc
properly when doing a lookahead.  The lack of this was causing various
interesting misbehaviors when one tries to use "with" as a plain identifier.

Files

PathChange+/−
src/backend/parser/parser.c modified +21 −5