mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
glr.cc: %defines is no longer mandatory
* data/glr.cc: No longer require %defines. When it is not given, define the position and location classes instead of including their headers. (b4_shared_declarations): Use the original parse-params. * data/glr.c (b4_shared_declarations): Define only if undefined. * tests/actions.at, tests/calc.at: No longer force the use of %defines for glr.cc. * NEWS: Doc it.
This commit is contained in:
10
NEWS
10
NEWS
@@ -85,13 +85,13 @@ GNU Bison NEWS
|
||||
|
||||
** C++ skeletons improvements
|
||||
|
||||
*** parser header (%defines) is no longer mandatory (lalr1.cc)
|
||||
*** The parser header is no longer mandatory (lalr1.cc, glr.cc)
|
||||
|
||||
In which case, if needed, the support classes are defined in the generated
|
||||
parser, instead of additional files (location.hh, position.hh and
|
||||
stack.hh).
|
||||
Using %defines is now optional. Without it, the needed support classes
|
||||
are defined in the generated parser, instead of additional files (such as
|
||||
location.hh, position.hh and stack.hh).
|
||||
|
||||
*** locations are no longer mandatory (lalr1.cc, glr.cc)
|
||||
*** Locations are no longer mandatory (lalr1.cc, glr.cc)
|
||||
|
||||
Both lalr1.cc and glr.cc no longer require %location.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user