]> git.saurik.com Git - bison.git/commit - data/glr.c
* data/c.m4 (b4_yydestruct_generate, b4_symbol_actions): New.
authorAkim Demaille <akim@epita.fr>
Tue, 12 Nov 2002 08:45:40 +0000 (08:45 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 12 Nov 2002 08:45:40 +0000 (08:45 +0000)
commitb0400cc6ef2e204e20964f38fd745e6f65e5c1ed
treefc6e2f914d16eb2f90f12a6cc5688b1dfe2fdcbc
parent72f889cca34803dfdd3327862bc26267bc679863
* data/c.m4 (b4_yydestruct_generate, b4_symbol_actions): New.
* data/yacc.c: Rename yychar1 as yytoken, as in glr.c.
Don't work on yychar (i.e., do set it to YYEMPTY, don't match
it against YYEMPTY and so forth), work on yytoken (i.e., set
it to YYEMPTY etc.).
(yydestruct): Replace with a b4_yydestruct_generate invocation.
(b4_symbol_actions): Remove.
* data/glr.c (YYTRANSLATE): As for yacc.c, if negative, it stands
for 0, end-of-input.
ChangeLog
data/c.m4
data/glr.c
data/yacc.c