mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
* src/reader.c (parse_skel_decl): New.
(read_declarations): Add case `tok_skel', call parse_skel_decl (). * src/lex.h (token_t): New token `tok_skel'. * src/lex.c (percent_table): Add skeleton option entry. Standardize.
This commit is contained in:
15
src/reader.c
15
src/reader.c
@@ -941,6 +941,17 @@ parse_macro_decl (void)
|
||||
macro_insert (macro_key, macro_value);
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------.
|
||||
| Parse what comes after %skeleton. |
|
||||
`----------------------------------*/
|
||||
|
||||
void
|
||||
parse_skel_decl (void)
|
||||
{
|
||||
/* Complete with parse_dquoted_param () on the CVS branch 1.29. */
|
||||
}
|
||||
|
||||
/*------------------------------------------.
|
||||
| Parse what comes after %header_extension. |
|
||||
`------------------------------------------*/
|
||||
@@ -1051,6 +1062,10 @@ read_declarations (void)
|
||||
case tok_define:
|
||||
parse_macro_decl ();
|
||||
break;
|
||||
|
||||
case tok_skel:
|
||||
parse_skel_decl ();
|
||||
break;
|
||||
|
||||
case tok_noop:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user