aboutsummaryrefslogtreecommitdiff
path: root/lua/core.lua
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-28 15:58:35 -0600
committerJoel Martin <github@martintribe.org>2015-02-28 15:58:35 -0600
commit3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f (patch)
tree523465cf281c01c8930e3166e4050cd201335411 /lua/core.lua
parent7907cd904a12c542529b27b0517a609e9cc4bb08 (diff)
downloadmal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.tar.gz
mal-3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f.zip
Lua: fix with new runtest.py
Diffstat (limited to 'lua/core.lua')
-rw-r--r--lua/core.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/core.lua b/lua/core.lua
index 3f46aeb..279a6d6 100644
--- a/lua/core.lua
+++ b/lua/core.lua
@@ -23,12 +23,14 @@ end
function prn(...)
print(table.concat(
utils.map(function(e) return _pr_str(e, true) end, arg), " "))
+ io.flush()
return Nil
end
function println(...)
print(table.concat(
utils.map(function(e) return _pr_str(e, false) end, arg), " "))
+ io.flush()
return Nil
end