7 #include "../7c/7.out.h"
15 typedef struct Sym Sym;
16 typedef struct Gen Gen;
18 typedef struct Hist Hist;
29 #define GETC() ((--fi.c < 0)? filbuf(): *fi.p++ & 0xff)
97 EXTERN char debug[256];
98 EXTERN Sym* hash[NHASH];
99 EXTERN char* Dlist[30];
105 EXTERN char* include[NINCLUDE];
114 EXTERN char* outfile;
116 EXTERN char* pathname;
120 EXTERN char symb[NSYMB];
122 EXTERN char* thestring;
123 EXTERN uintptr thunk;
127 void* allocn(void*, long, long);
128 void errorexit(void);
131 void newfile(char*, int);
143 void outcode(int, Gen*, int, Gen*);
144 void outcodec(int, int, Gen*, int, Gen*);
145 void outcode4(int, Gen*, int, Gen*, Gen*);
146 void zname(char*, int, int);
147 void zaddr(Gen*, int);
148 void ieeedtod(Ieee*, double);
154 void macexpand(Sym*, char*);
161 void dodefine(char*);
163 void linehist(char*, int);
165 void yyerror(char*, ...);
167 void setinclude(char*);
171 * system-dependent stuff from ../cc/compat.c
174 enum /* keep in synch with ../cc/cc.h */
181 int mycreat(char*, int);