This commit is contained in:
marketideas 2019-11-17 18:09:44 -08:00
parent f8c793ead2
commit f2addba16b
2 changed files with 2 additions and 1 deletions

View File

@ -1387,7 +1387,7 @@ void CLASS::initpass(void)
savepath = getConfig("option.objfile", "");
relocatable = false;
currentsym = NULL;
currentsym = &topSymbol; // this is the default symbol for :locals without a global above;
currentsymstr = "";
lineno = 0;
errorct = 0;

1
asm.h
View File

@ -353,6 +353,7 @@ public:
Poco::HashMap<std::string, TSymbol> macros;
Poco::HashMap<std::string, TSymbol> symbols;
Poco::HashMap<std::string, TSymbol> variables;
TSymbol topSymbol;
TOriginSection PC;
TLUPstruct curLUP;