mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
variables: parse.error
Implement, document, and test the replacement of %error-verbose by %define parse.error "verbose". * data/bison.m4 (b4_error_verbose_if): Reimplement to track the values of the parse.error variable. Make "simple" its default value. Check the valid values. * src/parse-gram.y: Use %define parse.error. (PERCENT_ERROR_VERBOSE): New token. Support it. * src/scan-gram.l: Support %error-verbose. * doc/bison.texinfo (Decl Summary): Replace the documentation of %define error-verbose by that of %define parse.error. * NEWS: Document it. * tests/actions.at, tests/calc.at: Use parse.error instead of %error-verbose.
This commit is contained in:
6
NEWS
6
NEWS
@@ -30,6 +30,12 @@ Bison News
|
||||
The "namespace" variable is renamed "api.namespace". Backward
|
||||
compatibility is ensured, but upgrading is recommended.
|
||||
|
||||
** Variable parse.error
|
||||
|
||||
The variable error controls the verbosity of error messages. The
|
||||
use of the %error-verbose directive is deprecated in favor of
|
||||
%define parse.error "verbose".
|
||||
|
||||
* Changes in version 2.5 (????-??-??):
|
||||
|
||||
** IELR(1) and Canonical LR(1) Support
|
||||
|
||||
Reference in New Issue
Block a user