]> git.saurik.com Git - bison.git/commitdiff
* src/lex.c (percent_table): Typo: s/naem/name/.
authorMarc Autret <autret_m@epita.fr>
Fri, 24 Aug 2001 18:36:50 +0000 (18:36 +0000)
committerMarc Autret <autret_m@epita.fr>
Fri, 24 Aug 2001 18:36:50 +0000 (18:36 +0000)
Add graph option.
Normalize new options declarations.

ChangeLog
src/lex.c

index 7d56eea0817d3ab5776fe32462ce354a974f1445..fdeda1882ab9a9e5d211ebcb24c32d3b3de40134 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-23  Marc Autret  <autret_m@epita.fr>
+
+       * src/lex.c (percent_table): Typo: s/naem/name/.
+       Add graph option.
+       Normalize new options declarations.
+
 2001-08-20  Pascal Bart  <pascal.bart@epita.fr>
 
        * tests/suite.at: Exercise %header_extension and %source_extension.
 2001-08-20  Pascal Bart  <pascal.bart@epita.fr>
 
        * tests/suite.at: Exercise %header_extension and %source_extension.
index 4bd0a6f26344d4fbc883b38f6c5543166255b27a..c3ca98d33290746312cc4261eb041dc0caddd35f 100644 (file)
--- a/src/lex.c
+++ b/src/lex.c
@@ -543,17 +543,18 @@ struct percent_table_struct percent_table[] =
   { "fixed_output_files",&yacc_flag,           tok_noop },     /* -y */
   { "defines",         &defines_flag,          tok_noop },     /* -d */
   { "no_parser",       &no_parser_flag,        tok_noop },     /* -n */
   { "fixed_output_files",&yacc_flag,           tok_noop },     /* -y */
   { "defines",         &defines_flag,          tok_noop },     /* -d */
   { "no_parser",       &no_parser_flag,        tok_noop },     /* -n */
+  { "graph",           &graph_flag,            tok_noop },     /* -g */
 #if 0
   /* For the time being, this is not enabled yet, while it's possible
      though, since we use obstacks.  The only risk is with semantic
      parsers which will output an `include' of an output file: be sure
 #if 0
   /* For the time being, this is not enabled yet, while it's possible
      though, since we use obstacks.  The only risk is with semantic
      parsers which will output an `include' of an output file: be sure
-     that the naem included is indeed the name of the output file.  */
+     that the name included is indeed the name of the output file.  */
   { "output_file",     &spec_outfile,          tok_setopt },   /* -o */
   { "file_prefix",     &spec_file_prefix,      tok_setopt },   /* -b */
   { "name_prefix",     &spec_name_prefix,      tok_setopt },   /* -p */
 #endif
   { "output_file",     &spec_outfile,          tok_setopt },   /* -o */
   { "file_prefix",     &spec_file_prefix,      tok_setopt },   /* -b */
   { "name_prefix",     &spec_name_prefix,      tok_setopt },   /* -p */
 #endif
-  { "header_extension",        NULL,                   tok_hdrext},
-  { "source_extension",        NULL,                   tok_srcext},
+  { "header_extension",        NULL,                   tok_hdrext },
+  { "source_extension",        NULL,                   tok_srcext },
   { "verbose",         &verbose_flag,          tok_noop },     /* -v */
   { "debug",           &debug_flag,            tok_noop },     /* -t */
   { "semantic_parser", &semantic_parser,       tok_noop },
   { "verbose",         &verbose_flag,          tok_noop },     /* -v */
   { "debug",           &debug_flag,            tok_noop },     /* -t */
   { "semantic_parser", &semantic_parser,       tok_noop },