From: Marc Autret Date: Fri, 24 Aug 2001 18:36:50 +0000 (+0000) Subject: * src/lex.c (percent_table): Typo: s/naem/name/. X-Git-Tag: BISON-1_28d~22 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/60403d1bc1e74c05bd5db40abd0ec1a4e90d36b7?ds=sidebyside * src/lex.c (percent_table): Typo: s/naem/name/. Add graph option. Normalize new options declarations. --- diff --git a/ChangeLog b/ChangeLog index 7d56eea0..fdeda188 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-08-23 Marc Autret + + * src/lex.c (percent_table): Typo: s/naem/name/. + Add graph option. + Normalize new options declarations. + 2001-08-20 Pascal Bart * tests/suite.at: Exercise %header_extension and %source_extension. diff --git a/src/lex.c b/src/lex.c index 4bd0a6f2..c3ca98d3 100644 --- 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 */ + { "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 - 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 - { "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 },