From b40e6b9dd9f6012f9548dd75932e51433e011c2a Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sat, 19 Feb 2011 06:47:32 +0500 Subject: util.json: Fixed a parse error caused by unexpected whitespace. --- util/json.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util') diff --git a/util/json.lua b/util/json.lua index 40939bb4..05453703 100644 --- a/util/json.lua +++ b/util/json.lua @@ -268,7 +268,9 @@ function json.decode(json) return tonumber(s); end local function readmember(t) + skipstuff(); local k = readstring(); + skipstuff(); checkandskip(":"); t[k] = readvalue(); end -- cgit v1.2.3