Mixins now perform a deep copy of the AST. (Fixes default blocks in mixins)

This commit is contained in:
Chronos Ouroboros 2020-01-07 16:11:20 -03:00
commit d22a4c835c
4 changed files with 904 additions and 36 deletions

View file

@ -114,6 +114,7 @@ private:
int IntConstFromNode(ZCC_TreeNode *node, PContainerType *cls);
FString StringConstFromNode(ZCC_TreeNode *node, PContainerType *cls);
ZCC_MixinDef *ResolveMixinStmt(ZCC_MixinStmt *mixinStmt, EZCCMixinType type);
void ProcessClass(ZCC_Class *node, PSymbolTreeNode *tnode);
void ProcessStruct(ZCC_Struct *node, PSymbolTreeNode *tnode, ZCC_Class *outer);
void ProcessMixin(ZCC_MixinDef *cnode, PSymbolTreeNode *treenode);