X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/342b8b6e2156e923797745af2da2596e3086ccd5..f6bd542788a4a6aa90d5ca5a53259b1de414df3a:/src/getargs.c diff --git a/src/getargs.c b/src/getargs.c index 24b6d893..eee6314f 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -34,11 +34,12 @@ int no_lines_flag = 0; int no_parser_flag = 0; int token_table_flag = 0; int verbose_flag = 0; -int statistics_flag = 0; int yacc_flag = 0; /* for -y */ int graph_flag = 0; +int trace_flag = 0; const char *skeleton = NULL; +const char *include = NULL; extern char *program_name; @@ -89,9 +90,9 @@ Output:\n\ -d, --defines also produce a header file\n\ -v, --verbose also produce an explanation of the automaton\n\ -b, --file-prefix=PREFIX specify a PREFIX for output files\n\ - -o, --output-file=FILE leave output to FILE\n\ - -g, --graph also produce a VCG graph description of the \ -automaton\n"), stream); + -o, --output=FILE leave output to FILE\n\ + -g, --graph also produce a VCG description of the automaton\n\ +"), stream); putc ('\n', stream); fputs (_("\ @@ -168,6 +169,10 @@ getargs (int argc, char *argv[]) skeleton = optarg; break; + case 'I': + include = optarg; + break; + case 'd': /* Here, the -d and --defines options are differentiated. */ defines_flag = 1;