|
|
1.1 root 1: /* File names and variables for bison,
2: Copyright (C) 1984 Bob Corbett and Free Software Foundation, Inc.
3:
4: BISON is distributed in the hope that it will be useful, but WITHOUT ANY
5: WARRANTY. No author or distributor accepts responsibility to anyone
6: for the consequences of using it or for whether it serves any
7: particular purpose or works at all, unless he says so in writing.
8: Refer to the BISON General Public License for full details.
9:
10: Everyone is granted permission to copy, modify and redistribute BISON,
11: but only under the conditions described in the BISON General Public
12: License. A copy of this license is supposed to have been given to you
13: along with BISON so you can know your rights and responsibilities. It
14: should be in a file named COPYING. Among other things, the copyright
15: notice and this notice must be preserved on all copies.
16:
17: In other words, you are welcome to use, share and improve this program.
18: You are forbidden to forbid anyone else to use, share and improve
19: what you give them. Help stamp out software-hoarding! */
20:
21: /* These two should be pathnames for opening the sample parser files.
22: When bison is installed, they should be absolute pathnames.
23: XPFILE1 and XPFILE2 normally come from the Makefile. */
24:
25: #define PFILE XPFILE /* Simple parser */
26: #define PFILE1 XPFILE1 /* Semantic parser */
27:
28: extern FILE *finput; /* read grammar specifications */
29: extern FILE *foutput; /* optionally output messages describing the actions taken */
30: extern FILE *fdefines; /* optionally output #define's for token numbers. */
31: extern FILE *ftable; /* output the tables and the parser */
32: extern FILE *fattrs; /* if semantic parser, output a .h file that defines YYSTYPE */
33: /* and also contains all the %{ ... %} definitions. */
34: extern FILE *fguard; /* if semantic parser, output yyguard, containing all the guard code */
35: extern FILE *faction; /* output all the action code; precise form depends on which parser */
36: extern FILE *fparser; /* read the parser to copy into ftable */
37:
38: /* File name specified with -o for the output file, or 0 if no -o. */
39: extern char *spec_outfile;
40:
41: extern char *infile;
42: extern char *outfile;
43: extern char *defsfile;
44: extern char *tabfile;
45: extern char *attrsfile;
46: extern char *guardfile;
47: extern char *actfile;
48: /* JF nobody seems to care about these
49: extern char *pfile;
50: extern char *pfile1; */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.