- implemented super calls and proper dispatch of scripted virtual overrides for Destroy.
This commit is contained in:
parent
72e77a6c65
commit
924096694e
5 changed files with 93 additions and 4 deletions
|
|
@ -2898,6 +2898,16 @@ FxExpression *ZCCCompiler::ConvertNode(ZCC_TreeNode *ast)
|
|||
return list;
|
||||
}
|
||||
|
||||
case AST_Expression:
|
||||
{
|
||||
auto ret = static_cast<ZCC_Expression *>(ast);
|
||||
if (ret->Operation == PEX_Super)
|
||||
{
|
||||
return new FxSuper(*ast);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
case AST_ExpressionStmt:
|
||||
return ConvertNode(static_cast<ZCC_ExpressionStmt *>(ast)->Expression);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue