From: Akim Demaille Date: Tue, 12 Nov 2002 08:45:40 +0000 (+0000) Subject: * data/c.m4 (b4_yydestruct_generate, b4_symbol_actions): New. X-Git-Tag: BISON-1_875~291 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/b0400cc6ef2e204e20964f38fd745e6f65e5c1ed?hp=b0400cc6ef2e204e20964f38fd745e6f65e5c1ed * 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. ---