mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user