Merge remote-tracking branch 'remotes/origin/master'
This commit is contained in:
commit
7d96f85fe8
3 changed files with 3 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ static FString GetStringConst(FxExpression *ex, FCompileContext &ctx)
|
|||
{
|
||||
ex = new FxStringCast(ex);
|
||||
ex = ex->Resolve(ctx);
|
||||
return static_cast<FxConstant*>(ex)->GetValue().GetString();
|
||||
return ex ? static_cast<FxConstant*>(ex)->GetValue().GetString() : FString();
|
||||
}
|
||||
|
||||
int ZCCCompiler::IntConstFromNode(ZCC_TreeNode *node, PStruct *cls)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue