]> git.saurik.com Git - bison.git/commit - tests/calc.m4
Also test parse error messages, including with YYERROR_VERBOSE.
authorAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:05:32 +0000 (09:05 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 09:05:32 +0000 (09:05 +0000)
commitd6c2cba06d7c3c86f98713c498c0d142d45b86be
tree92d218f9a5711f1d018c43634a804a0e2e517147
parent5a35a6cb7199aa58dc0b0cc6386872f5da18e1fe
Also test parse error messages, including with YYERROR_VERBOSE.
* tests/calc.m4 (calc.y): Add support for `exp = exp' (non
associative).
Use it to check the computations.
Use it to check `nonassoc' is honored.
(AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
`--yyerror-verbose'.
(_AT_CHECK_CALC): Adjust to this option.
(_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
ChangeLog
tests/calc.m4