diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fibfor.lua | 2 | ||||
-rw-r--r-- | test/trace-calls.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/fibfor.lua b/test/fibfor.lua index 19bb34b4..8bbba39c 100644 --- a/test/fibfor.lua +++ b/test/fibfor.lua @@ -7,7 +7,7 @@ function generatefib (n) coroutine.yield(a) a, b = b, a+b end - end, n) + end) end for i in generatefib(1000) do print(i) end diff --git a/test/trace-calls.lua b/test/trace-calls.lua index 63c8b8f3..5613c2cb 100644 --- a/test/trace-calls.lua +++ b/test/trace-calls.lua @@ -3,7 +3,7 @@ local level=0 -function hook(event) +local function hook(event) local t=debug.getinfo(3) io.write(level," >>> ",string.rep(" ",level)) if t~=nil and t.currentline>=0 then io.write(t.short_src,":",t.currentline," ") end |