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:
3
TODO
3
TODO
@@ -7,9 +7,6 @@ sure to check that the initial-action is performed once per parsing.
|
||||
b4_shared_declarations is no longer what it is. Make it
|
||||
b4_parser_declaration for instance.
|
||||
|
||||
** glr.cc: %defines
|
||||
it should not be mandatory.
|
||||
|
||||
** $ and others in epilogue
|
||||
A stray $ is a warning in the actions, but an error in the epilogue.
|
||||
IMHO, it should not even be a warning in the epilogue.
|
||||
|
||||
Reference in New Issue
Block a user