* src/lex.c (percent_table): Typo: s/naem/name/.

Add graph option.
Normalize new options declarations.
This commit is contained in:
Marc Autret
2001-08-24 18:36:50 +00:00
parent dd9f12de60
commit 60403d1bc1
2 changed files with 10 additions and 3 deletions

View File

@@ -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> 2001-08-20 Pascal Bart <pascal.bart@epita.fr>
* tests/suite.at: Exercise %header_extension and %source_extension. * tests/suite.at: Exercise %header_extension and %source_extension.

View File

@@ -543,17 +543,18 @@ struct percent_table_struct percent_table[] =
{ "fixed_output_files",&yacc_flag, tok_noop }, /* -y */ { "fixed_output_files",&yacc_flag, tok_noop }, /* -y */
{ "defines", &defines_flag, tok_noop }, /* -d */ { "defines", &defines_flag, tok_noop }, /* -d */
{ "no_parser", &no_parser_flag, tok_noop }, /* -n */ { "no_parser", &no_parser_flag, tok_noop }, /* -n */
{ "graph", &graph_flag, tok_noop }, /* -g */
#if 0 #if 0
/* For the time being, this is not enabled yet, while it's possible /* For the time being, this is not enabled yet, while it's possible
though, since we use obstacks. The only risk is with semantic though, since we use obstacks. The only risk is with semantic
parsers which will output an `include' of an output file: be sure 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 */ { "output_file", &spec_outfile, tok_setopt }, /* -o */
{ "file_prefix", &spec_file_prefix, tok_setopt }, /* -b */ { "file_prefix", &spec_file_prefix, tok_setopt }, /* -b */
{ "name_prefix", &spec_name_prefix, tok_setopt }, /* -p */ { "name_prefix", &spec_name_prefix, tok_setopt }, /* -p */
#endif #endif
{ "header_extension", NULL, tok_hdrext}, { "header_extension", NULL, tok_hdrext },
{ "source_extension", NULL, tok_srcext}, { "source_extension", NULL, tok_srcext },
{ "verbose", &verbose_flag, tok_noop }, /* -v */ { "verbose", &verbose_flag, tok_noop }, /* -v */
{ "debug", &debug_flag, tok_noop }, /* -t */ { "debug", &debug_flag, tok_noop }, /* -t */
{ "semantic_parser", &semantic_parser, tok_noop }, { "semantic_parser", &semantic_parser, tok_noop },