From c425e73e906628ac820545b80875e0d08250d97e Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Thu, 24 May 2012 09:44:35 +0000 Subject: [PATCH] fixed issue #9 (occurred with --no-inline) --- hscript.hxproj | 8 ++++++-- hscript/Parser.hx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hscript.hxproj b/hscript.hxproj index ea2de73..c1bda34 100644 --- a/hscript.hxproj +++ b/hscript.hxproj @@ -1,14 +1,16 @@  - + - + + + @@ -55,4 +57,6 @@ \ No newline at end of file diff --git a/hscript/Parser.hx b/hscript/Parser.hx index f209456..b85bb92 100644 --- a/hscript/Parser.hx +++ b/hscript/Parser.hx @@ -721,7 +721,7 @@ class Parser { case '/'.code: if( allowJSON ) b.writeByte(c) else invalidChar(c); case "u".code: if( !allowJSON ) throw invalidChar(c); - var code; + var code = null; try { incPos(); incPos();