From 3e0b36dcee99ddfd7ea0e04a382c1ad3858fc45f Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 28 Feb 2015 15:58:35 -0600 Subject: Lua: fix with new runtest.py --- lua/core.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/core.lua') 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 -- cgit v1.2.3