diff options
Diffstat (limited to 'lualibs-file.lua')
-rw-r--r-- | lualibs-file.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-file.lua b/lualibs-file.lua index 6f5f5d0..2bfc070 100644 --- a/lualibs-file.lua +++ b/lualibs-file.lua @@ -297,7 +297,7 @@ function file.splitname(str) -- returns drive, path, base, suffix return lpegmatch(pattern,str) end --- function test(t) for k, v in pairs(t) do print(v, "=>", file.splitname(v)) end end +-- function test(t) for k, v in next, t do print(v, "=>", file.splitname(v)) end end -- -- test { "c:", "c:/aa", "c:/aa/bb", "c:/aa/bb/cc", "c:/aa/bb/cc.dd", "c:/aa/bb/cc.dd.ee" } -- test { "c:", "c:aa", "c:aa/bb", "c:aa/bb/cc", "c:aa/bb/cc.dd", "c:aa/bb/cc.dd.ee" } |