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; } }