X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0ce615753edfd7d1f8f1fe8670d4354b3d59d049..1c72905811fa75e0715eb5ec1066dfcae520d070:/data/glr.cc diff --git a/data/glr.cc b/data/glr.cc index 2d9fc4c6..0d9e0496 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -44,7 +44,7 @@ # filename member). # We require a pure interface using locations. -m4_define([b4_locations_flag], [1]) +m4_define([b4_percent_define(locations)], []) m4_define([b4_pure_flag], [1]) # The header is mandatory. @@ -228,7 +228,7 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], #include /* Using locations. */ -#define YYLSP_NEEDED ]b4_locations_flag[ +#define YYLSP_NEEDED ]b4_locations_if([1], [0])[ ]b4_namespace_open[ class position; @@ -239,7 +239,7 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], /* Enabling traces. */ #ifndef YYDEBUG -# define YYDEBUG ]b4_debug_if([1], [0])[ +# define YYDEBUG ]b4_parse_trace_if([1], [0])[ #endif /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].