X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/ff4423cc2856ccc63b0fc72430fdc095208e0b14..c3a8cbaaad50a9c81f9542960be038a20f417dd9:/src/files.h diff --git a/src/files.h b/src/files.h index 5ac8d04a..2ef0a4ad 100644 --- a/src/files.h +++ b/src/files.h @@ -28,15 +28,24 @@ extern char *spec_outfile; /* For -a. */ -extern char *spec_name_prefix; +extern const char *spec_name_prefix; /* File name pfx specified with -b, or 0 if no -b. */ extern char *spec_file_prefix; +/* --verbose. */ +extern char *spec_verbose_file; + +/* 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; @@ -56,16 +65,18 @@ extern struct obstack guard_obstack; /* The verbose output. */ extern struct obstack output_obstack; - extern char *infile; extern char *attrsfile; void open_files PARAMS((void)); +void close_files PARAMS((void)); +void compute_output_file_names PARAMS((void)); void output_files PARAMS((void)); FILE *xfopen PARAMS ((const char *name, const char *mode)); int xfclose PARAMS ((FILE *ptr)); -const char *skeleton_find PARAMS ((const char *envvar, const char *skeleton)); +const char *skeleton_find PARAMS ((const char *envvar, + const char *skeleton_name)); #endif /* !FILES_H_ */