* tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set

to an explicit value to activate the feature. We do it here.
This commit is contained in:
Marc Autret
2001-09-01 01:20:54 +00:00
parent 7a999fcb7b
commit 087c8fdae3
3 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2001-09-01 Marc Autret <autret_m@epita.fr>
* tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
to an explicit value to activate the feature. We do it here.
2001-08-31 Pascal Bart <pascal.bart@epita.fr>
* src/output.c (prepare): Delete the `filename' muscule insertion.

1
TODO
View File

@@ -23,6 +23,7 @@
* doc/bison.texinfo
** Echo modifications of prologue and epilogue.
** Add informations about YYERROR_VERBOSE.
* tests/
** Repair Bison to success tests.

View File

@@ -245,7 +245,7 @@ AT_DEFINE([AT_DATA_CALC_Y],
[_AT_DATA_CALC_Y($[1], $[2], $[3],
[ifelse(regexp([$1], [--yyerror-verbose]),
[-1], [],
[[#define YYERROR_VERBOSE]])])])
[[#define YYERROR_VERBOSE 1]])])])