mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Proper checkpointing of mutable values
This commit is contained in:
parent
801df67461
commit
04c6683de8
14 changed files with 243 additions and 23 deletions
|
|
@ -44,7 +44,7 @@ local function write_result(filebase, result)
|
|||
o:write(ser(result))
|
||||
o:write("\n--[[\n")
|
||||
for _, v in ipairs(result) do
|
||||
o:write(inspect(v).."\n")
|
||||
o:write(inspect(v):gsub("]]", "] ]").."\n") -- professional-level bandaid when ]] appear in the output
|
||||
end
|
||||
o:write("]]--")
|
||||
o:close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue