]> git.saurik.com Git - bison.git/commit
* data/push.c (yychar_set, yylval_set, yylloc_set): Delete.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 7 Dec 2006 02:21:13 +0000 (02:21 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 7 Dec 2006 02:21:13 +0000 (02:21 +0000)
commit55a30bda173145b0c18e9b36129284b2bfbdd364
tree2b76cfbaa16974f81a23bd1e4e3810bf76317748
parent8589431355773d9d34105d644ba0ec2d944853e5
* data/push.c (yychar_set, yylval_set, yylloc_set): Delete.
(yypushparse): Add yynchar, yynlval, yynlloc parameters.
(b4_declare_parser_variables): Do not declare yynerrs for push mode.
(struct yypvars): Remove b4_declare_parser_variables.
(yypvarsinit): Remove init code for removed variables.
(global scope): Do not declare b4_declare_parser_variables if
push or pure mode.
(yypushparse): Add b4_declare_parser_variables.
Init new local variables, and remove init code for removed
yypvars variables.
(yyparse): Delete.
* tests/calc.at (_AT_DATA_CALC_Y): Call yypushparse for push mode
and yyparse for other modes.
(AT_CHECK_CALC_LALR): Added '%skeleton "push.c"' for push tests.
* tests/local.at (AT_PUSH_IF, AT_PURE_OR_PUSH_IF): Added.
(AT_YYERROR_SEES_LOC_IF): push-parser makes this false.
(AT_PURE_LEX_IF): True if pure or push parser.
ChangeLog
data/push.c
tests/calc.at
tests/local.at