mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 01:03:04 +00:00
* src/options.c (option_table): Adjust.
* src/lex.c (parse_percent_token): Fix.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-09-21 Marc Autret <autret_m@epita.fr>
|
||||||
|
|
||||||
|
* src/options.c (option_table): Adjust.
|
||||||
|
* src/lex.c (parse_percent_token): Fix.
|
||||||
|
|
||||||
2001-09-20 Pascal Bart <pascal.bart@epita.fr>
|
2001-09-20 Pascal Bart <pascal.bart@epita.fr>
|
||||||
|
|
||||||
* src/options.c (symtab.h): Include it, need by lex.h.
|
* src/options.c (symtab.h): Include it, need by lex.h.
|
||||||
|
|||||||
@@ -569,8 +569,8 @@ parse_percent_token (void)
|
|||||||
obstack_1grow (&token_obstack, '%');
|
obstack_1grow (&token_obstack, '%');
|
||||||
while (isalpha (c) || c == '_' || c == '-')
|
while (isalpha (c) || c == '_' || c == '-')
|
||||||
{
|
{
|
||||||
if (c == '-')
|
if (c == '_')
|
||||||
c = '_';
|
c = '-';
|
||||||
obstack_1grow (&token_obstack, c);
|
obstack_1grow (&token_obstack, c);
|
||||||
c = getc (finput);
|
c = getc (finput);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,11 +86,11 @@ const struct option_table_struct option_table[] =
|
|||||||
{opt_both, "file-prefix", required_argument,&spec_file_prefix,tok_setopt,'b'},
|
{opt_both, "file-prefix", required_argument,&spec_file_prefix,tok_setopt,'b'},
|
||||||
{opt_both, "name-prefix", required_argument,&spec_name_prefix,tok_setopt,'p'},
|
{opt_both, "name-prefix", required_argument,&spec_name_prefix,tok_setopt,'p'},
|
||||||
#endif
|
#endif
|
||||||
{opt_percent, "header_extension", 0, NULL, tok_hdrext, 0},
|
{opt_percent, "header-extension", 0, NULL, tok_hdrext, 0},
|
||||||
{opt_percent, "source_extension", 0, NULL, tok_srcext, 0},
|
{opt_percent, "source-extension", 0, NULL, tok_srcext, 0},
|
||||||
{opt_percent, "define", 0, NULL, tok_define, 0},
|
{opt_percent, "define", 0, NULL, tok_define, 0},
|
||||||
{opt_percent, "semantic_parser", 0, &semantic_parser, tok_noop, 0},
|
{opt_percent, "semantic-parser", 0, &semantic_parser, tok_noop, 0},
|
||||||
{opt_percent, "pure_parser", 0, &pure_parser, tok_noop, 0},
|
{opt_percent, "pure-parser", 0, &pure_parser, tok_noop, 0},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Percent and command line declarations.
|
* Percent and command line declarations.
|
||||||
|
|||||||
Reference in New Issue
Block a user