commit e78596955db89083ed7673e364fba7ab938a8d82
Author: Akim Demaille <[email protected]>
Date: Sat Apr 11 14:47:42 2020 +0200
glr.cc: remove dead code
* data/skeletons/glr.cc: here.
diff --git a/data/skeletons/glr.cc b/data/skeletons/glr.cc
index a6d7471d..9d3b07a5 100644
--- a/data/skeletons/glr.cc
+++ b/data/skeletons/glr.cc
@@ -105,25 +105,9 @@ yyerror (]b4_locations_if([[const
]b4_namespace_ref::b4_parser_class[::location_
]])[]m4_ifset([b4_parse_param], [b4_formals(b4_parse_param),
])[const char* msg);]])[
-#undef yynerrs
-#undef yychar
-#undef yylval]b4_locations_if([
-#undef yylloc])
-
-m4_if(b4_prefix, [yy], [],
-[[/* Substitute the variable and function names. */
-#define yyparse ]b4_prefix[parse
-#define yylex ]b4_prefix[lex
-#define yyerror ]b4_prefix[error
-#define yydebug ]b4_prefix[debug]]b4_pure_if([], [[
-#define yylval ]b4_prefix[lval
-#define yychar ]b4_prefix[char
-#define yynerrs ]b4_prefix[nerrs]b4_locations_if([[
-#define yylloc ]b4_prefix[lloc]])]))
-
# Hijack the epilogue to define implementations (yyerror, parser member
# functions etc.).
-m4_append([b4_epilogue],
+]m4_append([b4_epilogue],
[b4_syncline([@oline@], [@ofile@])dnl
[
/*------------------.