X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=symbol.h;h=1a27a6b02736f42a52abe311461bcc1242a4d48a;hb=9aa8503cdc9933350f14299d326ec7ee379721b8;hp=f985b1bb23322b29873443a3b0ed79f34a88b2cc;hpb=9153334781cd2e23750f4dc002e847606c07a1f0;p=rmac diff --git a/symbol.h b/symbol.h index f985b1b..1a27a6b 100644 --- a/symbol.h +++ b/symbol.h @@ -1,7 +1,7 @@ // -// RMAC - Reboot's Macro Assembler for all Atari computers +// RMAC - Renamed Macro Assembler for all Atari computers // SYMBOL.H - Symbol Handling -// Copyright (C) 199x Landon Dyer, 2011-2018 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2022 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -35,6 +35,7 @@ SYM uint8_t * sname; // * -> Symbol's print-name LLIST * lineList; // * -> Macro's linked list of lines LLIST * last; // * -> end of macro linked list + uint16_t cfileno; // File the macro is defined in uint32_t uid; // Symbol's unique ID }; @@ -49,8 +50,9 @@ SYM * NewSymbol(uint8_t *, int, int); void AddToSymbolDeclarationList(SYM *); void ForceUndefinedSymbolsGlobal(void); int symtable(void); -uint32_t sy_assign(uint8_t *, uint8_t *(*)()); -uint32_t sy_assign_ELF(uint8_t *, uint8_t *(*)()); +uint32_t AssignSymbolNos(uint8_t *, uint8_t *(*)()); +uint32_t AssignSymbolNosELF(uint8_t *, uint8_t *(*)()); +void DumpLODSymbols(void); uint8_t * GetSymbolNameByUID(uint32_t); #endif // __SYMBOL_H__