summaryrefslogtreecommitdiff
path: root/luaotfload-merged.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-15 09:02:32 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-15 09:02:32 -0700
commit087a990dc8581be3a2980034e70f874d52f9577b (patch)
tree5a7d38a8e5cf55cceb6dd51becf102950819beb4 /luaotfload-merged.lua
parent8a67b384a597b9af16ea915fe7e323d4328cdd3e (diff)
parent52f6ea217175fd1a39e6f80ea7a0f98fbf1364f6 (diff)
downloadluaotfload-087a990dc8581be3a2980034e70f874d52f9577b.tar.gz
Merge pull request #75 from phi-gamma/master
address feature request #74
Diffstat (limited to 'luaotfload-merged.lua')
-rw-r--r--luaotfload-merged.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/luaotfload-merged.lua b/luaotfload-merged.lua
index f814bdb..14667bd 100644
--- a/luaotfload-merged.lua
+++ b/luaotfload-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 05/12/13 22:16:22
+-- merge date : 05/14/13 23:14:52
do -- begin closure to overcome local limits and interference
@@ -2046,7 +2046,11 @@ function file.splitname(str,splitdrive)
end
end
function file.splitbase(str)
- return str and lpegmatch(pattern_d,str)
+ if str then
+ return lpegmatch(pattern_d,str)
+ else
+ return "",str
+ end
end
function file.nametotable(str,splitdrive)
if str then