X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=symbol.h;h=fadb8a4238d203d1f02d2701425c06c4c9f10a38;hp=3dc930f6f94b45629aa9d9764fc9a7c1d5b48dd0;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=c9541a9d4f01e190ffefc20ce07896c7f04d9557 diff --git a/symbol.h b/symbol.h index 3dc930f..fadb8a4 100644 --- a/symbol.h +++ b/symbol.h @@ -1,7 +1,7 @@ // // RMAC - Reboot's Macro Assembler for all Atari computers // SYMBOL.H - Symbol Handling -// Copyright (C) 199x Landon Dyer, 2011-2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -17,6 +17,7 @@ LLIST { LLIST * next; uint8_t * line; + int lineno; }; // Symbols @@ -30,7 +31,7 @@ SYM uint16_t sattr; // Attribute bits uint32_t sattre; // Extended attribute bits uint16_t senv; // Enviroment number - uint32_t svalue; // Symbol value + uint64_t svalue; // Symbol value (now 64-bit) uint8_t * sname; // * -> Symbol's print-name LLIST * lineList; // * -> Macro's linked list of lines LLIST * last; // * -> end of macro linked list @@ -50,6 +51,7 @@ void ForceUndefinedSymbolsGlobal(void); int symtable(void); uint32_t sy_assign(uint8_t *, uint8_t *(*)()); uint32_t sy_assign_ELF(uint8_t *, uint8_t *(*)()); +void DumpLODSymbols(void); uint8_t * GetSymbolNameByUID(uint32_t); #endif // __SYMBOL_H__