1991-11-23 10:41:43 +00:00
|
|
|
/* Copyright (c) 1991 by the Vrije Universiteit, Amsterdam, the Netherlands.
|
|
|
|
* All rights reserved.
|
1984-10-08 14:14:53 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* L L G E N
|
|
|
|
*
|
|
|
|
* An Extended LL(1) Parser Generator
|
|
|
|
*
|
|
|
|
* Author : Ceriel J.H. Jacobs
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
1991-11-23 10:41:43 +00:00
|
|
|
* $Header$
|
1984-10-08 14:14:53 +00:00
|
|
|
* Some important file names and variables
|
|
|
|
*/
|
|
|
|
|
|
|
|
# include <stdio.h>
|
|
|
|
|
|
|
|
/* FILES */
|
|
|
|
|
1990-01-29 13:45:42 +00:00
|
|
|
# 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 */
|
1984-10-08 14:14:53 +00:00
|
|
|
|
|
|
|
extern FILE *finput;
|
|
|
|
extern FILE *fpars;
|
|
|
|
extern FILE *fact;
|
|
|
|
extern FILE *fout;
|
1990-01-29 13:45:42 +00:00
|
|
|
extern char f_pars[];
|
|
|
|
extern char f_temp[];
|
|
|
|
extern char f_out[];
|
1984-10-08 14:14:53 +00:00
|
|
|
extern string f_input;
|
1990-01-29 13:45:42 +00:00
|
|
|
extern char f_include[];
|
|
|
|
extern char f_rec[];
|