ack/util/LLgen/src/io.h

44 lines
1,008 B
C
Raw Normal View History

/* Copyright (c) 1991 by the Vrije Universiteit, Amsterdam, the Netherlands.
1995-07-31 09:17:14 +00:00
* For full copyright and restrictions on use see the file COPYING in the top
1995-07-31 09:10:42 +00:00
* level of the LLgen tree.
1984-10-08 14:14:53 +00:00
*/
/*
* L L G E N
*
* An Extended LL(1) Parser Generator
*
* Author : Ceriel J.H. Jacobs
*/
/*
1994-06-24 11:31:16 +00:00
* $Id$
1984-10-08 14:14:53 +00:00
* Some important file names and variables
*/
# include <stdio.h>
/* FILES */
# define OUTFILE "%s.output" /* -v option */
# define PARSERFILE "xxxXXXXXX" /* This is what we want */
# define ACTFILE "tempXXXXXX" /* temporary file to save actions */
# define HFILE "%spars.h" /* file for "#define's " */
# define RFILE "%spars.c" /* Error recovery */
#ifdef NON_CORRECTING
# define NCFILE "%sncor.c" /* Non-corrcting error recovery */
#endif
1984-10-08 14:14:53 +00:00
extern FILE *finput;
extern FILE *fpars;
extern FILE *fact;
extern FILE *fout;
extern char f_pars[];
extern char f_temp[];
extern char f_out[];
1984-10-08 14:14:53 +00:00
extern string f_input;
extern char f_include[];
extern char f_rec[];
#ifdef NON_CORRECTING
extern char f_nc[];
#endif