Fixed mixins.

This commit is contained in:
Chronos Ouroboros 2019-11-04 18:31:31 -03:00
parent 2ae3f6d326
commit 583d8faf5c
1 changed files with 7 additions and 2 deletions

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;