]> git.saurik.com Git - bison.git/commit
Implement --trace=m4.
authorAkim Demaille <akim@epita.fr>
Sun, 14 May 2006 20:40:35 +0000 (20:40 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 14 May 2006 20:40:35 +0000 (20:40 +0000)
commit327afc7c849accd5fd7f97bd061f6480c6961ed8
tree9be27b8c1aa49f8271c21586f7a39236c727d197
parentba9ecd19109c62c4c17381f34e298e39314f1dfd
Implement --trace=m4.
* src/getargs.c (trace_types, trace_args): Accept trace_m4.
* src/output.c (output_skeleton): When set, pass -dV to m4.
Factor the handling of flags in m4.
* src/output.c (prepare): Rename the muscle names debug, defines,
error_verbose to debug_flag, defines_flag, error_verbose_flag.
* data/c.m4: Adjust.
(_b4_define_flag_if, b4_define_flag_if, b4_defines_if): New.
Use b4_define_flag_if to define other b4_FLAG_if macros.
(b4_location_if): As a consequence, rename as...
(b4_locations_if): this, for consistency.
Adjust all the skeletons.
ChangeLog
data/c.m4
data/glr.c
data/glr.cc
data/lalr1.cc
data/yacc.c
src/getargs.c
src/getargs.h
src/output.c