Преглед изворни кода

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