X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=symbol.h;h=485ed8864bc9f7e97b7079f5e99c643b1552a0c6;hp=eaf9107d1a52c055842f18686190bdf8ae04a1d8;hb=d0c28c349ddfb8393568037f68bddbe8979ce0df;hpb=daf2f61a3664329ae7f9609e1e14da2b8780fd10 diff --git a/symbol.h b/symbol.h index eaf9107..485ed88 100644 --- a/symbol.h +++ b/symbol.h @@ -3,7 +3,7 @@ // SYMBOL.H - Symbol Handling // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __SYMBOL_H__ @@ -36,18 +36,19 @@ SYM uint32_t uid; // Symbol's unique ID }; -// Globals, externals etc +// Globals, externals, etc. extern int curenv; extern char subttl[]; -// Prototypes +// Exported functions SYM * lookup(char *, int, int); void InitSymbolTable(void); SYM * NewSymbol(char *, int, int); -void sym_decl(SYM *); -int syg_fix(void); +void AddToSymbolDeclarationList(SYM *); +void ForceUndefinedSymbolsGlobal(void); int symtable(void); int sy_assign(char *, char *(*)()); char * GetSymbolNameByUID(uint32_t); #endif // __SYMBOL_H__ +