summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f1886bb)
too soon: it results in comments being expanded.
* data/yacc.c, data/glr.c, data/lalr1.cc: Do it right before the
first output.
+2002-10-24 Akim Demaille <akim@epita.fr>
+
+ * src/output.c (output_skeleton): Don't disable M4sugar comments
+ too soon: it results in comments being expanded.
+ * data/yacc.c, data/glr.c, data/lalr1.cc: Do it right before the
+ first output.
+
2002-10-24 Akim Demaille <akim@epita.fr>
* data/yacc.c (m4_int_type): New.
2002-10-24 Akim Demaille <akim@epita.fr>
* data/yacc.c (m4_int_type): New.
[[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]], [_])])
[[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]], [_])])
+# We do want M4 expansion after # for CPP macros.
+m4_changecom()
m4_divert(0)dnl
#output "b4_output_parser_name"
b4_copyright([Skeleton parser for GLR parsing with Bison], [2002])
m4_divert(0)dnl
#output "b4_output_parser_name"
b4_copyright([Skeleton parser for GLR parsing with Bison], [2002])
+# We do want M4 expansion after # for CPP macros.
+m4_changecom()
m4_divert(0)dnl
#output "b4_output_header_name"
b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
m4_divert(0)dnl
#output "b4_output_header_name"
b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
+# We do want M4 expansion after # for CPP macros.
+m4_changecom()
m4_divert(0)dnl
#output "b4_output_parser_name"
b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
m4_divert(0)dnl
#output "b4_output_parser_name"
b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
error (EXIT_FAILURE, errno, "fdopen");
/* Output the definitions of all the muscles. */
error (EXIT_FAILURE, errno, "fdopen");
/* Output the definitions of all the muscles. */
-
- /* There are no comments, especially not `#': we do want M4 expansion
- after `#': think of CPP macros! */
- fputs ("m4_changecom()\n", out);
fputs ("m4_init()\n", out);
user_actions_output (out);
fputs ("m4_init()\n", out);
user_actions_output (out);