diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 11:17:04 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2009-12-30 13:20:31 +0200 |
commit | 1005e9ef11f07210130b96c03811b0762b13e33c (patch) | |
tree | c5cbe010bf9e24dcb19e5a3179ff311a149cdfeb /otfl-font-def.lua | |
parent | d4cccf105bb508150dc765c93bb47bf6f9a87f81 (diff) | |
download | luaotfload-1005e9ef11f07210130b96c03811b0762b13e33c.tar.gz |
Updating to latest ConTeXt beta (2009.12.29)
Diffstat (limited to 'otfl-font-def.lua')
-rw-r--r-- | otfl-font-def.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otfl-font-def.lua b/otfl-font-def.lua index 65c74d4..9a007b9 100644 --- a/otfl-font-def.lua +++ b/otfl-font-def.lua @@ -8,6 +8,7 @@ if not modules then modules = { } end modules ['font-def'] = { local format, concat, gmatch, match, find, lower = string.format, table.concat, string.gmatch, string.match, string.find, string.lower local tostring, next = tostring, next +local lpegmatch = lpeg.match local trace_defining = false trackers .register("fonts.defining", function(v) trace_defining = v end) local directive_embedall = false directives.register("fonts.embedall", function(v) directive_embedall = v end) @@ -108,7 +109,7 @@ define.add_lookup("name") define.add_lookup("spec") function define.get_specification(str) - return splitter:match(str) + return lpegmatch(splitter,str) end function define.register_split(symbol,action) |