mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
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:
@@ -47,7 +47,6 @@
|
||||
#include "muscle_tab.h"
|
||||
#include "uniqstr.h"
|
||||
|
||||
bool debug_flag;
|
||||
bool defines_flag;
|
||||
bool graph_flag;
|
||||
bool xml_flag;
|
||||
@@ -618,7 +617,7 @@ getargs (int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 't':
|
||||
debug_flag = true;
|
||||
muscle_percent_define_insert ("debug", command_line_location (), "");
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
|
||||
Reference in New Issue
Block a user