Changeset

4148:65f22ed19b9e

Merge 0.8->trunk.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 20 Feb 2011 19:21:44 +0500
parents 4146:a361c578c1f2 (current diff) 4147:7f119ebcf55f (diff)
children 4149:3c1b153c2856
files
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/json.lua	Sun Feb 20 19:16:56 2011 +0500
+++ b/util/json.lua	Sun Feb 20 19:21:44 2011 +0500
@@ -268,7 +268,9 @@
 		return tonumber(s);
 	end
 	local function readmember(t)
+		skipstuff();
 		local k = readstring();
+		skipstuff();
 		checkandskip(":");
 		t[k] = readvalue();
 	end