summaryrefslogtreecommitdiff
path: root/luaotfload-features.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-23 12:04:43 -0700
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-23 12:04:43 -0700
commit7b227eafa8c2c607d31bc46897553139baa6430d (patch)
tree1f78f1acd84ed2029ba5981f74c4364b8cf8bb83 /luaotfload-features.lua
parent00a2e2b6f095ba547dda795e263de9a5eb3f8f8f (diff)
parent36820d22516ca33fbf5aa9a44820d583de5c4202 (diff)
downloadluaotfload-7b227eafa8c2c607d31bc46897553139baa6430d.tar.gz
Merge pull request #91 from phi-gamma/master
v2.2d; ctan upload
Diffstat (limited to 'luaotfload-features.lua')
-rw-r--r--luaotfload-features.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/luaotfload-features.lua b/luaotfload-features.lua
index a4d495e..a68eb04 100644
--- a/luaotfload-features.lua
+++ b/luaotfload-features.lua
@@ -1015,7 +1015,9 @@ local field = field_char^1
--- switches are “+key” | “-key”
local normal_option = C(field) * ws * equals * ws * C(field) * ws
local xetex_option = P"+" * ws * normal_option
-local ignore_option = (1 - equals)^1 * equals * (1 - featuresep)^1
+local ignore_option = (1 - equals - featuresep)^1
+ * equals
+ * (1 - featuresep)^1
local assignment = xetex_option / handle_xetex_option
+ normal_option / handle_normal_option
+ ignore_option / handle_invalid_option