mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
* src/reader.c (parse_include_decl): New, Not yet implemented.
(read_declarations): Add case tok_include. * src/getargs.h (include): Add its extern definition. * src/getargs.c (include): New const char *. (getargs): Add case '-I'. * src/options.c (option_table): Add include as command line and percent option. * src/lex.h (token_t): Add tok_include.
This commit is contained in:
@@ -116,6 +116,7 @@ const struct option_table_struct option_table[] =
|
||||
{opt_both, "no-parser", no_argument, &no_parser_flag, tok_intopt, 'n'},
|
||||
{opt_both, "raw", no_argument, 0, tok_obsolete, 'r'},
|
||||
{opt_both, "skeleton", required_argument, 0, tok_skel, 'S'},
|
||||
{opt_both, "include", required_argument, 0, tok_include, 'I'},
|
||||
{opt_both, "token-table", no_argument, &token_table_flag, tok_intopt, 'k'},
|
||||
|
||||
{0, 0, 0, 0, 0, 0}
|
||||
|
||||
Reference in New Issue
Block a user