This commit is contained in:
Robin Wellner 2015-05-20 02:22:35 +02:00
parent c6d9904da7
commit f397c73f77

View File

@ -14,7 +14,7 @@ local function write(t, memo, rev_memo)
if ty == 'number' then if ty == 'number' then
t = format("%.17g", t) t = format("%.17g", t)
return oddvals[t] or t return oddvals[t] or t
elseif or ty == 'boolean' or ty == 'nil' then elseif ty == 'boolean' or ty == 'nil' then
t = tostring(t) t = tostring(t)
return tostring(t) return tostring(t)
elseif ty == 'string' then elseif ty == 'string' then