From e65ac4d626f69656c57c07e4df1a1113a014f34a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Mart=C3=ADnez?= Date: Sun, 16 Jun 2013 03:06:41 -0300 Subject: [PATCH] Restore old output format of dump() --- builtin/misc_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/misc_helpers.lua b/builtin/misc_helpers.lua index 526be0492..743a9cfd3 100644 --- a/builtin/misc_helpers.lua +++ b/builtin/misc_helpers.lua @@ -57,7 +57,7 @@ function dump(o, dumped) dumped[o] = true local t = {} for k,v in pairs(o) do - t[#t+1] = "" .. dump(k, dumped) .. " = " .. dump(v, dumped) + t[#t+1] = "[" .. dump(k, dumped) .. "] = " .. dump(v, dumped) end return "{" .. table.concat(t, ", ") .. "}" elseif type(o) == "boolean" then -- 2.25.1