glr.cc: be more alike lalr1.cc

This commit is contained in:
Akim Demaille
2019-01-19 17:42:48 +01:00
parent 5c797b1627
commit 626d2f2dca

View File

@@ -246,9 +246,12 @@ b4_percent_code_get([[requires]])[
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
]m4_ifdef([b4_location_file], ]b4_cxx_portability[
]m4_ifdef([b4_location_include],
[[# include ]b4_location_include])[ [[# include ]b4_location_include])[
]b4_variant_if([b4_variant_includes])[
]b4_attribute_define[
]b4_null_define[ ]b4_null_define[
// Whether we are compiled with exception support. // Whether we are compiled with exception support.
@@ -263,6 +266,7 @@ b4_percent_code_get([[requires]])[
]b4_YYDEBUG_define[ ]b4_YYDEBUG_define[
]b4_namespace_open[ ]b4_namespace_open[
]b4_bison_locations_if([m4_ifndef([b4_location_file], ]b4_bison_locations_if([m4_ifndef([b4_location_file],
[b4_location_define])])[ [b4_location_define])])[