From 957cfdbb1b1df37cc64346eebfd812fd65864c04 Mon Sep 17 00:00:00 2001 From: chrox Date: Fri, 18 Oct 2013 00:06:34 +0800 Subject: [PATCH] revert JSON hack since the unusual utf8 representation is fixed --- frontend/JSON.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/JSON.lua b/frontend/JSON.lua index d507d950e..4be1d95a9 100644 --- a/frontend/JSON.lua +++ b/frontend/JSON.lua @@ -326,8 +326,6 @@ local function grok_string(self, text, start, etc) elseif text:match('^\\t', i) then VALUE = VALUE .. "\t" i = i + 2 - elseif text:match('^\\\\', i) then - i = i + 1 else local hex = text:match('^\\u([0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF][0123456789aAbBcCdDeEfF])', i) if hex then