Fix filtered_base_yylex() to save and restore base_yylval and base_yylloc

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

Commit: 063560bb8e1e3658df858266d593a0ee2d053423
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-01-06T19:14:17Z
Releases: 8.3.0
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