소스 검색

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 ) {