Fixed mixins.

This commit is contained in:
Chronos Ouroboros 2019-11-04 18:31:31 -03:00 committed by drfrag
parent 4e5ffb5db9
commit 7bc42a30be

View file

@ -173,8 +173,13 @@ void ZCCCompiler::ProcessClass(ZCC_Class *cnode, PSymbolTreeNode *treenode)
break;
}
origNextNode = node->SiblingNext;
node = mixinDef->Body;
if (mixinDef->Body != nullptr)
{
origNextNode = node->SiblingNext;
node = mixinDef->Body;
continue;
}
}
break;