Maintaining support for YYERROR_VERBOSE while providing more features for syntax error generation is too painful, so YYERROR_VERBOSE is no longer supported. This is not exactly a breaking change: the parsers that still depend on it will now produce Yacc-like error messages (just "syntax error"), but they remain functional.
YYERROR_VERBOSE 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. Since Bison 3.0 (2013-07-25), "%error-verbose" is deprecated in favor of "%define parse.error verbose". Akim Demaille (4): yacc.c: avoid negations yacc.c: no longer support YYERROR_VERBOSE glr.c: no longer support YYERROR_VERBOSE doc: YYERROR_VERBOSE is no longer supported NEWS | 11 ++++++++ data/skeletons/glr.c | 32 ++++++++-------------- data/skeletons/yacc.c | 62 +++++++++++++++++-------------------------- doc/bison.texi | 9 ------- tests/conflicts.at | 3 ++- 5 files changed, 49 insertions(+), 68 deletions(-) -- 2.24.1
