Skip to content

Commit

Permalink
Restore old output format of dump()
Browse files Browse the repository at this point in the history
  • Loading branch information
kaeza authored and PilzAdam committed Jun 18, 2013
1 parent 2616545 commit e65ac4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/misc_helpers.lua
Expand Up @@ -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
Expand Down

0 comments on commit e65ac4d

Please sign in to comment.