Skip to content
Permalink
Browse files

Fixed mixins.

  • Loading branch information...
Doom2fan committed Nov 4, 2019
1 parent 2ae3f6d commit 583d8faf5cb709aeabc6e1dae4d261eca9f35110
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/scripting/zscript/zcc_compile.cpp
@@ -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;

0 comments on commit 583d8fa

Please sign in to comment.
You can’t perform that action at this time.