mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
glr.cc: no longer require location support
* data/glr.cc: Use b4_locations_if where appropriate. * data/lalr1.cc: M4 quotation changes to highlight code duplication with glr.cc. * tests/calc.at: Check glr.cc with and without %location. While at it, fuse multiple %parse-params into one. * tests/actions.at: Simplify. * NEWS: Doc this. Some other wording changes.
This commit is contained in:
10
NEWS
10
NEWS
@@ -12,7 +12,7 @@ GNU Bison NEWS
|
||||
|
||||
** Warnings
|
||||
|
||||
*** Warning categories are now displayed in warnings
|
||||
*** Warning categories are now displayed
|
||||
|
||||
For instance:
|
||||
|
||||
@@ -82,7 +82,13 @@ GNU Bison NEWS
|
||||
Also, it is possible to add code to the parser's constructors using
|
||||
"%code init" and "%define init_throws".
|
||||
|
||||
** C++ skeleton improvements
|
||||
** C++ skeletons improvements
|
||||
|
||||
*** locations are no longer mandatory (lalr1.cc, glr.cc)
|
||||
|
||||
Both lalr1.cc and glr.cc no longer require %location.
|
||||
|
||||
*** syntax_error exception (lalr1.cc)
|
||||
|
||||
The C++ parser features a syntax_error exception, which can be
|
||||
thrown from the scanner or from user rules to raise syntax errors.
|
||||
|
||||
Reference in New Issue
Block a user