Skip to content
Snippets Groups Projects
Commit e65ac4d6 authored by Diego Martínez's avatar Diego Martínez Committed by PilzAdam
Browse files

Restore old output format of dump()

parent 26165453
No related branches found
No related tags found
No related merge requests found
......@@ -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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment