diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-06-07 18:39:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-06-07 18:39:00 +0200 |
commit | 8498c91926dd70afc51962fd9893944214f3f8ef (patch) | |
tree | 659f621c5092180da6cba5fe5348b97ecb3a3edd /scripts/context/lua/mtxrun.lua | |
parent | a6d02bd9da605a902fd062a2d53e09368477b844 (diff) | |
download | context-8498c91926dd70afc51962fd9893944214f3f8ef.tar.gz |
beta 2012.06.07 18:39
Diffstat (limited to 'scripts/context/lua/mtxrun.lua')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index 8bd243b54..78cc06e0e 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -4831,10 +4831,6 @@ local function set(key,value) hash[key] = value end -local function set(key,value) - hash[key] = value -end - local pattern_a_s = (pattern_a/set)^1 local pattern_b_s = (pattern_b/set)^1 local pattern_c_s = (pattern_c/set)^1 @@ -4885,7 +4881,7 @@ end local separator = comma * space^0 local value = P(lbrace * C((nobrace + nested)^0) * rbrace) + C((nested + (1-comma))^0) -local pattern = Ct(value*(separator*value)^0) +local pattern = spaces * Ct(value*(separator*value)^0) -- "aap, {noot}, mies" : outer {} removes, leading spaces ignored |