Skip to content
Permalink
Browse files

Restore old output format of dump()

  • Loading branch information
kaeza authored and PilzAdam committed Jun 18, 2013
1 parent 2616545 commit e65ac4d626f69656c57c07e4df1a1113a014f34a
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit e65ac4d

Please sign in to comment.