diff options
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -199,11 +199,11 @@ run = function() tree } end - for _index_1 = 1, #tree do - local chunk = tree[_index_1] + for chunk_no, chunk in ipairs(tree) do local lua = nomsu_environment.compile(chunk) lua:declare_locals() nomsu_environment.run_1_in(chunk, nomsu_environment) + output:write((chunk_no > 1) and '\n' or '', "-- File " .. tostring(filename) .. " chunk #" .. tostring(chunk_no) .. "\n") output:write(tostring(lua), "\n") if args.verbose then print(tostring(lua)) |
