- preparations for null pointer support.
- add pointer support to FxAssign.
This commit is contained in:
parent
5bed0a2b39
commit
89416835a8
4 changed files with 90 additions and 22 deletions
|
|
@ -379,6 +379,13 @@ public:
|
|||
ValueType = value.Type = TypeState;
|
||||
isresolved = true;
|
||||
}
|
||||
|
||||
FxConstant(nullptr_t *nullp, const FScriptPosition &pos) : FxExpression(pos)
|
||||
{
|
||||
value.pointer = nullptr;
|
||||
ValueType = value.Type = TypeNullPtr;
|
||||
isresolved = true;
|
||||
}
|
||||
|
||||
static FxExpression *MakeConstant(PSymbol *sym, const FScriptPosition &pos);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue