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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: More incremental refactoring in plpgsql: get rid of gram.y
Date: 2009-11-10 02:13:13
Message-ID: 20091110021313.A0251753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
gram.y (r1.133 -> r1.134)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.133&r2=1.134)
pl_comp.c (r1.143 -> r1.144)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_comp.c?r1=1.143&r2=1.144)
plpgsql.h (r1.122 -> r1.123)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/plpgsql.h?r1=1.122&r2=1.123)
scan.l (r1.75 -> r1.76)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l?r1=1.75&r2=1.76)

Browse pgsql-committers by date

  From Date Subject
Next Message User Achernow 2009-11-10 04:59:06 libpqtypes - libpqtypes: Added man pages for PQregisterSubClass,
Previous Message Bruce Momjian 2009-11-10 02:09:54 pgsql: PL/pgSQL FOUND Document that GET DIAGNOSTICS is affected by