* src/getargs.c (longopts): Declare --defines and --graph as options

with optional arguments.
* src/files.h: Add extern declarations.
* src/files.c (spec_graph_file, spec_defines_file): New.
(output_files): Update.
Remove CPP-outed code.
This commit is contained in:
Marc Autret
2001-09-17 23:00:01 +00:00
parent 817e461c23
commit 6526f6dbf7
4 changed files with 33 additions and 12 deletions

View File

@@ -33,10 +33,16 @@ extern char *spec_name_prefix;
/* File name pfx specified with -b, or 0 if no -b. */
extern char *spec_file_prefix;
/* File name specified for the output VCG graph. */
extern char *spec_graph_file;
/* File name specified with --defines. */
extern char *spec_defines_file;
/* Read grammar specifications. */
extern FILE *finput;
/* Output all the action code; precise form depends on which parser. */
extern struct obstack action_obstack;