Comparison

util/json.lua @ 4147:7f119ebcf55f

util.json: Fixed a parse error caused by unexpected whitespace.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 19 Feb 2011 06:47:32 +0500
parent 4047:1a89fd3cc954
child 4284:20979f124ad9
comparison
equal deleted inserted replaced
4143:eccd3c87d717 4147:7f119ebcf55f
266 end 266 end
267 end 267 end
268 return tonumber(s); 268 return tonumber(s);
269 end 269 end
270 local function readmember(t) 270 local function readmember(t)
271 skipstuff();
271 local k = readstring(); 272 local k = readstring();
273 skipstuff();
272 checkandskip(":"); 274 checkandskip(":");
273 t[k] = readvalue(); 275 t[k] = readvalue();
274 end 276 end
275 local function fixobject(obj) 277 local function fixobject(obj)
276 local __array = obj.__array; 278 local __array = obj.__array;