summaryrefslogtreecommitdiff
path: root/lualibs-file.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-05-21 06:22:29 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-05-21 06:22:29 +0300
commit5f2ef13d20837eb9c0fe84a378e70c5066e6d021 (patch)
tree8da8eb76198b5015119d88aeb0480dedefa27e1d /lualibs-file.lua
parent2ede45796e70760267e4928dfff04d3546a8f159 (diff)
downloadlualibs-5f2ef13d20837eb9c0fe84a378e70c5066e6d021.tar.gz
Sync with ConTeXt beta (beta 2010.05.20)
Needed to sync luaotfload.
Diffstat (limited to 'lualibs-file.lua')
-rw-r--r--lualibs-file.lua2
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" }