123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /* File names and variables for bison,
- Copyright (C) 1984 Bob Corbett and Free Software Foundation, Inc.
- BISON is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY. No author or distributor accepts responsibility to anyone
- for the consequences of using it or for whether it serves any
- particular purpose or works at all, unless he says so in writing.
- Refer to the BISON General Public License for full details.
- Everyone is granted permission to copy, modify and redistribute BISON,
- but only under the conditions described in the BISON General Public
- License. A copy of this license is supposed to have been given to you
- along with BISON so you can know your rights and responsibilities. It
- should be in a file named COPYING. Among other things, the copyright
- notice and this notice must be preserved on all copies.
- In other words, you are welcome to use, share and improve this program.
- You are forbidden to forbid anyone else to use, share and improve
- what you give them. Help stamp out software-hoarding! */
- /* These two should be pathnames for opening the sample parser files.
- When bison is installed, they should be absolute pathnames.
- XPFILE1 and XPFILE2 normally come from the Makefile. */
- #define PFILE XPFILE /* Simple parser */
- #define PFILE1 XPFILE1 /* Semantic parser */
- extern FILE *finput; /* read grammar specifications */
- extern FILE *foutput; /* optionally output messages describing the actions taken */
- extern FILE *fdefines; /* optionally output #define's for token numbers. */
- extern FILE *ftable; /* output the tables and the parser */
- extern FILE *fattrs; /* if semantic parser, output a .h file that defines YYSTYPE */
- /* and also contains all the %{ ... %} definitions. */
- extern FILE *fguard; /* if semantic parser, output yyguard, containing all the guard code */
- extern FILE *faction; /* output all the action code; precise form depends on which parser */
- extern FILE *fparser; /* read the parser to copy into ftable */
- /* File name specified with -o for the output file, or 0 if no -o. */
- extern char *spec_outfile;
- extern char *infile;
- extern char *outfile;
- extern char *defsfile;
- extern char *tabfile;
- extern char *attrsfile;
- extern char *guardfile;
- extern char *actfile;
- /* JF nobody seems to care about these
- extern char *pfile;
- extern char *pfile1; */
|