doc: YYERROR_VERBOSE is no longer supported

* doc/bison.texi (Table of Symbols): Remove last reference to it.
* NEWS: Be clear about that.
This commit is contained in:
Akim Demaille
2020-01-03 10:58:43 +01:00
parent 86a3ec0f8d
commit da4587fcd7
2 changed files with 11 additions and 9 deletions

11
NEWS
View File

@@ -2,6 +2,17 @@ GNU Bison NEWS
* Noteworthy changes in release ?.? (????-??-??) [?]
** Backward incompatible changes
TL;DR: replace "#define YYERROR_VERBOSE 1" by "%define parse.error verbose".
The YYERROR_VERBOSE macro is no longer supported; the parsers that still
depend on it will now produce Yacc-like error messages (just "syntax
error"). It was superseded by the "%error-verbose" directive in Bison
1.875 (2003-01-01). Bison 2.6 (2012-07-19) clearly announced that support
for YYERROR_VERBOSE would be removed. Note that since Bison 3.0
(2013-07-25), "%error-verbose" is deprecated in favor of "%define
parse.error verbose".
* Noteworthy changes in release 3.5 (2019-12-11) [stable]