Skip to content
Snippets Groups Projects
Verified Commit 6f15c1d5 authored by Petr Špaček's avatar Petr Špaček
Browse files

table_print: fix printing tables with key = false

parent 0b3c6cb7
Branches
Tags
1 merge request!1027new pretty printer
......@@ -525,7 +525,7 @@ function table_print (tt, indent, done)
local i = 0
return function()
i = i + 1
if keys[i] then
if keys[i] ~= nil then
return keys[i], unordered_tt[keys[i]]
end
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment