]> git.saurik.com Git - bison.git/commit - tests/local.at
tests: handle %parse-param in the generated yyerror
authorAkim Demaille <akim@lrde.epita.fr>
Sat, 3 Nov 2012 09:05:03 +0000 (10:05 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 5 Nov 2012 09:15:12 +0000 (10:15 +0100)
commit3472de825e2ffcafee51cc5e81a031e302420f6f
treeb42035ad3a3185217e10af8605d2664d71c0a74a
parent3112e7a82b61724d5a240a60ffeaee613431f85d
tests: handle %parse-param in the generated yyerror

* tests/local.at (AT_PARSE_PARAMS): New.
(AT_YYERROR_FORMALS, AT_YYERROR_DEFINE): Use it to add the parse-param
to yyerror.
* tests/calc.at, tests/regression.at: Use AT_YYERROR_DEFINE and
AT_YYERROR_DECLARE, now that they handle properly the parse-params.
Be sure to let AT_BISON_OPTION_PUSHDEFS now what parse-params are used.
tests/calc.at
tests/local.at
tests/regression.at