4 #include "../2c/2.out.h"
5 #include "../cc/compat.h"
7 typedef struct Sym Sym;
8 typedef struct Ref Ref;
9 typedef struct Gen Gen;
11 typedef struct Hist Hist;
12 typedef struct Addr Addr;
13 typedef struct Gen2 Gen2;
24 #define GETC() ((--fi.c < 0)? filbuf(): *fi.p++ & 0xff)
106 EXTERN char debug[256];
107 EXTERN Sym* hash[NHASH];
108 EXTERN char* Dlist[30];
113 EXTERN char* include[NINCLUDE];
121 EXTERN char* outfile;
123 EXTERN char* pathname;
127 EXTERN char symb[NSYMB];
129 EXTERN char* thestring;
133 void errorexit(void);
136 void newfile(char*, int);
149 void outcode(int, Gen2*);
151 void zaddr(Gen*, int);
152 void zname(char*, int, int);
153 void ieeedtod(Ieee*, double);
159 void macexpand(Sym*, char*, int);
165 void dodefine(char*);
167 void linehist(char*, int);
168 void yyerror(char*, ...);
170 void setinclude(char*);