summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base')
-rw-r--r--Master/texmf-dist/tex/context/base/data-exp.lua2
-rw-r--r--Master/texmf-dist/tex/context/base/data-res.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/data-exp.lua b/Master/texmf-dist/tex/context/base/data-exp.lua
index a0a85d07f58..11e69bcae5d 100644
--- a/Master/texmf-dist/tex/context/base/data-exp.lua
+++ b/Master/texmf-dist/tex/context/base/data-exp.lua
@@ -96,7 +96,7 @@ local function splitpathexpr(str, newlist, validate) -- I couldn't resist lpeggi
if validate then
for s in gmatch(str,"[^,]+") do
local restoreslashes = false
- if gmatch(s, "//$") then restoreslashes = true end
+ if find(s, "//$") then restoreslashes = true end
s = validate(s)
if s then
n = n + 1 ; t[n] = s
diff --git a/Master/texmf-dist/tex/context/base/data-res.lua b/Master/texmf-dist/tex/context/base/data-res.lua
index 33b1fe65274..cac283092c2 100644
--- a/Master/texmf-dist/tex/context/base/data-res.lua
+++ b/Master/texmf-dist/tex/context/base/data-res.lua
@@ -1019,6 +1019,7 @@ local function collect_instance_files(filename,askedformat,allresults) -- todo :
local path = pathlist[k]
local pathname = lpegmatch(inhibitstripper,path)
local doscan = path == pathname -- no ^!!
+ if not find (pathname, '//$') then doscan = false end
done = false
-- using file list
if filelist then