2 * $XConsortium: cppsetup.c,v 1.4 88/09/06 17:53:45 jim Exp $
8 * This file is strictly for the sake of cpy.y and yylex.c (if
9 * you indeed have the source for cpp).
18 #if pdp11 | vax | ns16000 | mc68000 | ibm032
24 * These variables used by cpy.y and yylex.c
26 extern char *outp, *inp, *newp, *pend;
34 struct filepointer *currentfile;
35 struct inclist *currentinc;
37 cppsetup(line, filep, inc)
39 register struct filepointer *filep;
40 register struct inclist *inc;
42 register char *p, savec;
43 static boolean setupdone = FALSE;
58 * put a newline back on the end, and set up pend, etc.
73 struct symtab *lookup(symbol)
76 static struct symtab undefined;
79 sp = defined(symbol, currentinc);
87 pperror(tag, x0,x1,x2,x3,x4)
88 int tag,x0,x1,x2,x3,x4;
90 log("\"%s\", line %d: ", currentinc->i_file, currentfile->f_line);
98 log_fatal("Fatal error: %s\n", s);