14 #pragma varargck type "L" void
16 typedef struct Node Node;
17 typedef struct String String;
18 typedef struct Lsym Lsym;
19 typedef struct List List;
20 typedef struct Store Store;
22 typedef struct Strc Strc;
23 typedef struct Rplace Rplace;
24 typedef struct Ptab Ptab;
25 typedef struct Value Value;
26 typedef struct Type Type;
27 typedef struct Frtype Frtype;
35 Extern Biobuf* io[32];
37 Extern char symbol[Strsize];
38 Extern int interactive;
43 Extern Lsym* hash[Hashsize];
52 Extern List* tracelist;
53 Extern int initialising;
56 extern void (*expop[])(Node*, Node*);
57 #define expr(n, r) (r)->comt=0; (*expop[(n)->op])(n, r);
58 extern int fmtsize(Value *v) ;
92 Extern Ptab ptab[Maxproc];
149 void (*builtin)(Node*, Node*);
172 List* addlist(List*, List*);
174 Node* an(int, Node*, Node*);
175 void append(Node*, Node*, Node*);
178 void call(char*, Node*, Node*, Node*, Node*);
179 void catcher(void*, char*);
180 void checkqid(int, int);
183 List* construct(Node*);
186 void defcomplex(Node*, Node*);
188 void delete(List*, int n, Node*);
190 Lsym* enter(char*, int);
191 void error(char*, ...);
194 void fatal(char*, ...);
195 void flatten(Node**, Node*);
197 char* getstatus(int);
199 void indir(Map*, uvlong, char, Node*);
200 void installbuiltin(void);
203 int listcmp(List*, List*);
205 List* listvar(char*, vlong);
206 void loadmodule(char*);
210 void marklist(List*);
212 void msg(int, char*);
215 void nthelem(List*, int, Node*);
217 void odot(Node*, Node*);
218 void pcode(Node*, int);
222 void pushfile(char*);
224 void readtext(char*);
225 void restartio(void);
226 uvlong rget(Map*, char*);
227 String *runenode(Rune*);
228 int scmp(String*, String*);
230 String* stradd(String*, String*);
231 String* straddrune(String*, Rune);
232 String* strnode(char*);
233 String* strnodlen(char*, int);
235 void trlist(Map*, uvlong, uvlong, Symbol*);
240 Waitmsg* waitfor(int);
242 void windir(Map*, Node*, Node*, Node*);
243 void yyerror(char*, ...);
247 #pragma varargck argpos error 1
248 #pragma varargck argpos fatal 1
249 #pragma varargck argpos yyerror 1