separate arguments with spaces

This commit is contained in:
Dobrica Pavlinusic
2012-04-17 18:32:01 +02:00
parent 53e5196bd3
commit 4c353205e6

View File

@@ -27,12 +27,12 @@ function debug(...)
local line = ""
for i,v in ipairs(arg) do
if type(v) == "table" then
line = line .. dump(v)
line = line .. " " .. dump(v)
else
line = line .. tostring(v)
line = line .. " " .. tostring(v)
end
end
print("# "..line)
print("#"..line)
end
-- simple serialization function, won't do uservalues, functions, loops