Changeset

5563:678867c552d1

util.json: Make setmetatable local.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 06 May 2013 19:43:59 -0400
parents 5562:a6b8fb827e2a
children 5564:1292643ac498
files util/json.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/json.lua	Mon May 06 19:42:54 2013 -0400
+++ b/util/json.lua	Mon May 06 19:43:59 2013 -0400
@@ -13,7 +13,7 @@
 local pairs, ipairs = pairs, ipairs;
 local next = next;
 local error = error;
-local newproxy, getmetatable = newproxy, getmetatable;
+local newproxy, getmetatable, setmetatable = newproxy, getmetatable, setmetatable;
 local print = print;
 
 local has_array, array = pcall(require, "util.array");