Fixed mixins.

This commit is contained in:
Chronos Ouroboros 2019-11-04 18:31:31 -03:00
parent 2ae3f6d326
commit 583d8faf5c

View file

@ -165,8 +165,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;