X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b3a2272a7389932c298e2ba3ea72090c85b3f4ba..76bf5102423b4d1597b214f77764075f55b5eb7b:/src/getargs.c diff --git a/src/getargs.c b/src/getargs.c index 14cba3ed..d7e43850 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -47,11 +47,9 @@ #include "muscle_tab.h" #include "uniqstr.h" -bool debug_flag; bool defines_flag; bool graph_flag; bool xml_flag; -bool locations_flag; bool no_lines_flag; bool token_table_flag; bool yacc_flag; /* for -y */ @@ -618,7 +616,7 @@ getargs (int argc, char *argv[]) break; case 't': - debug_flag = true; + muscle_percent_define_insert ("debug", command_line_location (), ""); break; case 'v': @@ -636,7 +634,8 @@ getargs (int argc, char *argv[]) break; case LOCATIONS_OPTION: - locations_flag = true; + muscle_percent_define_ensure ("locations", + command_line_location (), true); break; case PRINT_LOCALEDIR_OPTION: