From 6c5987f9afca323af0ea2bffeb7311b55a0da5ea Mon Sep 17 00:00:00 2001 From: ncannasse Date: Thu, 23 Nov 2017 14:05:12 +0100 Subject: [PATCH] fixed error when no inline triggered --- hscript/Parser.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hscript/Parser.hx b/hscript/Parser.hx index 78af119..3ae5b14 100644 --- a/hscript/Parser.hx +++ b/hscript/Parser.hx @@ -1443,7 +1443,8 @@ class Parser { case EBinop("||", e1, e2): return evalPreproCond(e1) || evalPreproCond(e2); default: - error(EInvalidPreprocessor("Can't eval "+expr(e).getName()), readPos, readPos); + error(EInvalidPreprocessor("Can't eval " + expr(e).getName()), readPos, readPos); + return null; } }