Fixed placement of static class members

This commit is contained in:
drmortalwombat 2024-09-30 20:41:33 +02:00
parent fb477b33f7
commit 5126ba482e

View File

@ -5498,7 +5498,7 @@ Declaration* Parser::ParseDeclaration(Declaration * pdec, bool variable, bool ex
ndec->mBase = ndec->mBase->DeduceAuto(ndec->mValue->mDecType);
if (ndec->mFlags & DTF_GLOBAL)
if (ndec->mFlags & (DTF_GLOBAL | DTF_STATIC))
{
if (ndec->mFlags & DTF_ZEROPAGE)
;