4 #include "../8c/8.out.h"
10 typedef struct Sym Sym;
11 typedef struct Ref Ref;
12 typedef struct Gen Gen;
14 typedef struct Hist Hist;
15 typedef struct Gen2 Gen2;
26 #define GETC() ((--fi.c < 0)? filbuf(): *fi.p++ & 0xff)
105 EXTERN char debug[256];
106 EXTERN Sym* hash[NHASH];
107 EXTERN char* Dlist[30];
113 EXTERN char* include[NINCLUDE];
122 EXTERN char* outfile;
124 EXTERN char* pathname;
128 EXTERN char symb[NSYMB];
130 EXTERN char* thestring;
134 void* allocn(void*, long, long);
135 void errorexit(void);
138 void newfile(char*, int);
148 void checkscale(int);
152 void outcode(int, Gen2*);
154 void zaddr(Gen*, int);
155 void zname(char*, int, int);
156 void ieeedtod(Ieee*, double);
162 void macexpand(Sym*, char*);
168 void dodefine(char*);
170 void linehist(char*, int);
172 void yyerror(char*, ...);
174 void setinclude(char*);
178 * system-dependent stuff from ../cc/compat.c
180 enum /* keep in synch with ../cc/cc.h */
187 int mycreat(char*, int);
190 char* mygetwd(char*, int);
191 int myexec(char*, char*[]);