* 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:
Marc Autret
2001-11-26 21:06:22 +00:00
parent a220f55509
commit f6bd542788
6 changed files with 36 additions and 3 deletions

View File

@@ -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}