- 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
|
|
@ -276,6 +276,7 @@ enum EFxType
|
|||
EFX_TypeCheck,
|
||||
EFX_DynamicCast,
|
||||
EFX_GlobalVariable,
|
||||
EFX_Super,
|
||||
EFX_COUNT
|
||||
};
|
||||
|
||||
|
|
@ -1241,6 +1242,23 @@ public:
|
|||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
};
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxSuper
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
class FxSuper : public FxSelf
|
||||
{
|
||||
public:
|
||||
FxSuper(const FScriptPosition&pos)
|
||||
: FxSelf(pos)
|
||||
{
|
||||
ExprType = EFX_Super;
|
||||
}
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
};
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxArrayElement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue