More incremental refactoring in plpgsql: get rid of gram.y dependencies on

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

Commit: 73a2f6c653cabe57f93e4a7f51dfea7b753076b4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-11-10T02:13:13Z
Releases: 9.0.0
More incremental refactoring in plpgsql: get rid of gram.y dependencies on
yytext.  This is a necessary change if we're going to have a lexer interface
layer that does lookahead, since yytext won't necessarily be in step with
what the grammar thinks is the current token.  yylval and yylloc should
be the only side-variables that we need to manage when doing lookahead.

Files

PathChange+/−
src/pl/plpgsql/src/gram.y modified +275 −269
src/pl/plpgsql/src/pl_comp.c modified +239 −307
src/pl/plpgsql/src/plpgsql.h modified +26 −6
src/pl/plpgsql/src/scan.l modified +1 −11