]> git.saurik.com Git - bison.git/blob - src/files.h
(__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995.
[bison.git] / src / files.h
1 /* File names and variables for bison,
2 Copyright (C) 1984, 1989 Free Software Foundation, Inc.
3
4 This file is part of Bison, the GNU Compiler Compiler.
5
6 Bison is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 Bison is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Bison; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
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 *spec_name_prefix; /* for -a, from getargs.c */
42
43 /* File name pfx specified with -b, or 0 if no -b. */
44 extern char *spec_file_prefix;
45
46 extern char *infile;
47 extern char *outfile;
48 extern char *defsfile;
49 extern char *tabfile;
50 extern char *attrsfile;
51 extern char *guardfile;
52 extern char *actfile;