summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-03-03 08:56:27 +0100
committerAkim Demaille <akim.demaille@gmail.com>2020-03-05 07:26:49 +0100
commit2f83ef57f3a7808f56c02232efde3575e5897418 (patch)
tree4c619a7703c0c203e2513a2e74b4f520bc72f96a /examples
parent744171ddbff0e398c81c0ced966c9a483ddf51a9 (diff)
downloadbison-2f83ef57f3a7808f56c02232efde3575e5897418.tar.gz
yacc.c: push: undefine the pstate macros for the epilogue
* data/skeletons/yacc.c (b4_macro_define, b4_macro_undef) (b4_pstate_macro_define, b4_parse_state_variable_macros): New. Use them. * examples/c/bistromathic/parse.y: Remove now useless undefs.
Diffstat (limited to 'examples')
-rw-r--r--examples/c/bistromathic/parse.y5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/c/bistromathic/parse.y b/examples/c/bistromathic/parse.y
index e1315ee5..02bd93f1 100644
--- a/examples/c/bistromathic/parse.y
+++ b/examples/c/bistromathic/parse.y
@@ -139,11 +139,6 @@ exp:
// End of grammar.
%%
-#undef yyssp
-#undef yyesa
-#undef yyes
-#undef yyes_capacity
-
/*------------.
| Functions. |
`------------*/