X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0fb669f9d648dfdd7a39478a6b658511455ae966..ac564be451362c738a89ff742b84408cfd2e704b:/src/files.h?ds=inline diff --git a/src/files.h b/src/files.h index 3269c40d..e8df14e7 100644 --- a/src/files.h +++ b/src/files.h @@ -1,5 +1,7 @@ /* File names and variables for bison, - Copyright (C) 1984, 1989, 2000, 2001, 2002 Free Software Foundation, Inc. + + Copyright (C) 1984, 1989, 2000, 2001, 2002, 2006 Free Software + Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -24,28 +26,28 @@ # include "uniqstr.h" /* File name specified with -o for the output file, or 0 if no -o. */ -extern char *spec_outfile; +extern char const *spec_outfile; /* File name for the parser (i.e., the one above, or its default.) */ -extern char *parser_file_name; +extern char const *parser_file_name; /* Symbol prefix specified with -p, or 0 if no -p. */ extern const char *spec_name_prefix; /* File name prefix specified with -b, or 0 if no -b. */ -extern char *spec_file_prefix; +extern char const *spec_file_prefix; /* --verbose. */ -extern char *spec_verbose_file; +extern char const *spec_verbose_file; -/* File name specified for the output VCG graph. */ -extern char *spec_graph_file; +/* File name specified for the output graph. */ +extern char const *spec_graph_file; /* File name specified with --defines. */ -extern char *spec_defines_file; +extern char const *spec_defines_file; -/* Read grammar specifications. */ -extern FILE *finput; +/* Directory prefix of output file names. */ +extern char const *dir_prefix; /* If semantic parser, output a .h file that defines YYSTYPE... */ @@ -65,7 +67,4 @@ void compute_output_file_names (void); FILE *xfopen (const char *name, const char *mode); void xfclose (FILE *ptr); -/* Prefix used to generate output file names. */ -extern char *short_base_name; - #endif /* !FILES_H_ */