[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/4] Remove support for YYERROR_VERBOSE

From: Akim Demaille
Subject: [PATCH 0/4] Remove support for YYERROR_VERBOSE
Date: Sat, 4 Jan 2020 11:07:36 +0100

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/    |  3 ++-
 5 files changed, 49 insertions(+), 68 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]