浏览代码

Lua : Include special byte handling for json

Justin Donaldson 10 年之前
父节点
当前提交
93656a1ef8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 ) {