summaryrefslogtreecommitdiff
path: root/otfl-font-xtx.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2009-08-10 08:54:22 +0300
committerElie Roux <elie.roux@telecom-bretagne.eu>2009-08-10 08:54:22 +0300
commite7e1f9fa9046828a20677ac09a230eb383854c93 (patch)
tree9539e3bb3f59e690d2f1d70c8053fde76b5c52df /otfl-font-xtx.lua
parenta4ad0bc15c4d506ba81f1e95431cf225ab094274 (diff)
downloadluaotfload-e7e1f9fa9046828a20677ac09a230eb383854c93.tar.gz
updating to latest (20090809) ConTeXt code (with minor bugfix)
Diffstat (limited to 'otfl-font-xtx.lua')
-rw-r--r--otfl-font-xtx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-xtx.lua b/otfl-font-xtx.lua
index 63e421f..7b3f1ec 100644
--- a/otfl-font-xtx.lua
+++ b/otfl-font-xtx.lua
@@ -72,7 +72,7 @@ local function isfalse(s) list[s] = 'no' end
local function iskey (k,v) list[k] = v end
local spaces = lpeg.P(" ")^0
-local namespec = (1-lpeg.S("/: ("))^0
+local namespec = (1-lpeg.S("/:("))^0 -- was: (1-lpeg.S("/: ("))^0
local crapspec = spaces * lpeg.P("/") * (((1-lpeg.P(":"))^0)/iscrap) * spaces
local filename = (lpeg.P("file:")/isfile * (namespec/thename)) + (lpeg.P("[") * lpeg.P(true)/isname * (((1-lpeg.P("]"))^0)/thename) * lpeg.P("]"))
local fontname = (lpeg.P("name:")/isname * (namespec/thename)) + lpeg.P(true)/issome * (namespec/thename)