Fix name space pollution in __asm sections

This commit is contained in:
drmortalwombat 2024-08-17 17:03:57 +02:00
parent 09641d16f5
commit cc576bd640

View File

@ -11098,7 +11098,7 @@ Expression* Parser::ParseAssembler(void)
exitLabel = true; exitLabel = true;
Declaration* dec = mScope->Lookup(label); Declaration* dec = mScope->Lookup(label, SLEVEL_STATIC);
if (dec) if (dec)
{ {
if (dec->mType != DT_LABEL || dec->mBase) if (dec->mType != DT_LABEL || dec->mBase)