]> git.saurik.com Git - bison.git/blobdiff - src/getargs.c
* src/bison.simple: Remove YYERROR_VERBOSE using.
[bison.git] / src / getargs.c
index 7b0046a462f9bf6ad4e16ff98624c8716a5df054..0951e581e95fb5abc3baa08d80074b154dfffd1a 100644 (file)
@@ -34,11 +34,13 @@ int no_lines_flag = 0;
 int no_parser_flag = 0;
 int token_table_flag = 0;
 int verbose_flag = 0;
-int statistics_flag = 0;
+int error_verbose_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,7 +91,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"), 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 (_("\
@@ -153,19 +157,31 @@ getargs (int argc, char *argv[])
        exit (0);
 
       case 'g':
+       /* Here, the -g and --graph=FILE options are differentiated.  */
        graph_flag = 1;
+       spec_graph_file = optarg;
        break;
 
       case 'v':
        verbose_flag = 1;
        break;
 
+      case 'e':
+       error_verbose_flag = 1;
+       break;
+
       case 'S':
        skeleton = optarg;
        break;
 
+      case 'I':
+       include = optarg;
+       break;
+
       case 'd':
+       /* Here, the -d and --defines options are differentiated.  */
        defines_flag = 1;
+       spec_defines_file = optarg;
        break;
 
       case 'l':