OSDN Git Service

More incremental refactoring in plpgsql: get rid of gram.y dependencies on
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Nov 2009 02:13:13 +0000 (02:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 10 Nov 2009 02:13:13 +0000 (02:13 +0000)
commit73a2f6c653cabe57f93e4a7f51dfea7b753076b4
tree25dd7a2641093f89479dd09c54e9bcf746366706
parent6ac697f18065f41cad4e3c63a674575b711e03b6
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.
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l