]> git.saurik.com Git - bison.git/commit - data/c++.m4
* data/c.m4 (b4_error_verbose_if): New.
authorAkim Demaille <akim@epita.fr>
Thu, 29 Sep 2005 06:50:57 +0000 (06:50 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 29 Sep 2005 06:50:57 +0000 (06:50 +0000)
commitd4fb5e3cb9116c90ba5afa7ca272df89bbc4e32a
treebe9d59859035d5d3d3cbb1a86f31af15c87dfdf7
parent8a6f72f3d7b273fada66d1af89b7f95cb578810d
* data/c.m4 (b4_error_verbose_if): New.
* data/lalr1.cc: Use it.
(YYERROR_VERBOSE_IF): Remove.
(yyn_, yylen_, yystate_, yynerrs_, yyerrstatus_): Remove as
parser members, replaced by...
(yyn, yylen, yystate, yynerss, yyerrstatus): these parser::parse
local variables.
(yysyntax_error_): Takes the state number as argument.
(yyreduce_print_): Use the argument yyrule, not the former
attribute yyn_.
ChangeLog
data/c++.m4
data/c.m4
data/lalr1.cc
data/yacc.c