Fixed: A StateProvider actor could no longer use its own user variables
Refactored the FxIdentifier code a bit to avoid code duplication
This commit is contained in:
parent
49ef541513
commit
ac0413838c
2 changed files with 117 additions and 139 deletions
|
|
@ -347,12 +347,13 @@ public:
|
|||
|
||||
FxIdentifier(FName i, const FScriptPosition &p);
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
FxExpression *ResolveMember(FCompileContext&, PClass*, FxExpression*&, PStruct*);
|
||||
};
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxIdentifier
|
||||
// FxMemberIdentifier
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
|
|
@ -1240,8 +1241,10 @@ public:
|
|||
|
||||
class FxSelf : public FxExpression
|
||||
{
|
||||
bool check;
|
||||
|
||||
public:
|
||||
FxSelf(const FScriptPosition&);
|
||||
FxSelf(const FScriptPosition&, bool deccheck = false);
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue