Let yyerror always receive the msg as last argument, so that
authorAkim Demaille <akim@epita.fr>
Thu, 7 Nov 2002 12:52:19 +0000 (12:52 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 7 Nov 2002 12:52:19 +0000 (12:52 +0000)
commit93724f139a641f6242c93f1504eaf6ecfcaf439f
treea68b87a0b89f8ebf908fb931208b69c5ba95baeb
parent0e25cad542938842a1dd3cbb9e171fdccbcfb322
Let yyerror always receive the msg as last argument, so that
yyerror can be variadic.
* data/yacc.c (b4_yyerror_args): New.
Use it when calling yyerror.
* data/glr.c (b4_yyerror_args, b4_lyyerror_args): New.
Use it when calling yyerror.
* doc/bison.texinfo (Error Reporting): Adjust.
* tests/calc.at (_AT_DATA_CALC_Y): Adjust.
* tests/cxx-type.at (_AT_TEST_GLR_CALC): Adjust.
ChangeLog
data/glr.c
data/yacc.c
doc/bison.texinfo
tests/calc.at
tests/cxx-type.at