Browse Source

Lua : Include special byte handling for json

Justin Donaldson 10 years ago
parent
commit
93656a1ef8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/format/JsonParser.hx

+ 1 - 1
std/haxe/format/JsonParser.hx

@@ -156,7 +156,7 @@ class JsonParser {
 				case 'u'.code:
 					var uc = Std.parseInt("0x" + str.substr(pos, 4));
 					pos += 4;
-					#if (neko || php || cpp)
+					#if (neko || php || cpp || lua)
 					if( uc <= 0x7F )
 						buf.addChar(uc);
 					else if( uc <= 0x7FF ) {