Treat %debug as %define debug.

* data/bison.m4 (b4_debug_if): New.
	* data/glr.c, data/glr.cc, data/lalr1.cc, data/yacc.c,
	* data/lalr1.java: Use it instead of b4_debug_flag.
	* src/getargs.h, src/getargs.c (debug_flag): Remove.
	* src/output.c (prepare): Don't output it.
	* src/parse-gram.y: Treat %debug as %define debug.
This commit is contained in:
Akim Demaille
2009-04-03 00:32:49 +02:00
parent dc450175c0
commit 0ce615753e
10 changed files with 18 additions and 13 deletions

View File

@@ -35,7 +35,6 @@ extern int skeleton_prio;
/* for -I */
extern char const *include;
extern bool debug_flag; /* for -t */
extern bool defines_flag; /* for -d */
extern bool graph_flag; /* for -g */
extern bool xml_flag; /* for -x */