* 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

@@ -22,9 +22,10 @@
# define GETARGS_H_
/* flags set by % directives */
extern char *spec_file_prefix; /* for -b */
extern char *spec_name_prefix; /* for -p */
extern const char *skeleton;
extern char *spec_file_prefix; /* for -b */
extern char *spec_name_prefix; /* for -p */
extern const char *skeleton; /* for -S */
extern const char *include; /* for -I */
extern int debug_flag; /* for -t */
extern int defines_flag; /* for -d */