* data/lalr1.cc (yylex_): Remove, inline its code.

(yyreport_syntax_error_): Remove, replaced by...
(yysyntax_error_): this which returns a string and leaves to the
caller the call to the users' error function.
(yylooka_, yyilooka_, yylval, yylloc, yyerror_range_, yyval, yyloc):
Move from members of the parser object...
(yylooka, yyilooka, yylval, yylloc, yyerror_range, yyval, yyloc):
to local variables of the parse function.
This commit is contained in:
Akim Demaille
2005-09-16 12:12:36 +00:00
parent 70d8f2910e
commit dbcdae2d04
2 changed files with 105 additions and 100 deletions

View File

@@ -1,3 +1,14 @@
2005-09-16 Akim Demaille <akim@epita.fr>
* data/lalr1.cc (yylex_): Remove, inline its code.
(yyreport_syntax_error_): Remove, replaced by...
(yysyntax_error_): this which returns a string and leaves to the
caller the call to the users' error function.
(yylooka_, yyilooka_, yylval, yylloc, yyerror_range_, yyval, yyloc):
Move from members of the parser object...
(yylooka, yyilooka, yylval, yylloc, yyerror_range, yyval, yyloc):
to local variables of the parse function.
2005-09-16 Akim Demaille <akim@epita.fr>
* doc/bison.texinfo (Calc++ Parser): Don't promote defining YYEOF