summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-02 13:10:00 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-02 13:10:00 +0200
commitc640e41c3431821d6bfbbad418f352008cf4f942 (patch)
treee5ab32c56f5a324d26159ca57818b33985624d02
parent71eb6250e1971b7ead98f6d91a7d325597730ebe (diff)
downloadluaotfload-c640e41c3431821d6bfbbad418f352008cf4f942.tar.gz
make feature request parser skip empty fields
addresses https://github.com/lualatex/luaotfload/issues/103
-rw-r--r--luaotfload-features.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-features.lua b/luaotfload-features.lua
index 81d1437..690a33c 100644
--- a/luaotfload-features.lua
+++ b/luaotfload-features.lua
@@ -1032,7 +1032,7 @@ local feature_expr = ws * Cg(assignment + switch) * ws
local option = feature_expr
local feature_list = Cf(Ct""
* option
- * (featuresep * option)^0
+ * (featuresep * option^-1)^0
, rawset)
* featuresep^-1