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; break;
} }
if (mixinDef->Body != nullptr)
{
origNextNode = node->SiblingNext; origNextNode = node->SiblingNext;
node = mixinDef->Body; node = mixinDef->Body;
continue;
}
} }
break; break;