]> git.saurik.com Git - bison.git/blobdiff - data/stack.hh
%define variables: support value changes in deprecation
[bison.git] / data / stack.hh
index bd94eb2da5dded1256f7ed840257ae72d4adebf3..4fd136fd2d55f9203aed75b2728be67665aeae9e 100644 (file)
@@ -119,10 +119,7 @@ m4_define([b4_stack_define],
 ]])
 
 b4_defines_if(
-[# We do want M4 expansion after # for CPP macros.
-m4_changecom()
-m4_divert_push(0)dnl
-@output(b4_dir_prefix[]stack.hh@)@
+[b4_output_begin([b4_dir_prefix[]stack.hh])
 b4_copyright([Stack handling for Bison parsers in C++])[
 
 /**
@@ -139,7 +136,7 @@ b4_copyright([Stack handling for Bison parsers in C++])[
 ]b4_namespace_close[
 
 ]b4_cpp_guard_close([b4_dir_prefix[]stack.hh])
-m4_divert_pop(0)
-m4_popdef([b4_copyright_years])dnl
-m4_changecom([#])
+b4_output_end()
 ])
+
+m4_popdef([b4_copyright_years])