diff options
author | Hans Hagen <pragma@wxs.nl> | 2009-12-29 22:32:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2009-12-29 22:32:00 +0100 |
commit | 5eb872dbc6bbc35e222d5b23fc783fb0e75d4a99 (patch) | |
tree | 91164a948df7bcf12b5423db3ef1b310ca2b5017 /tex/context/base/mult-chk.lua | |
parent | 326b0613f1ed21f5711a8d94403512171c058e48 (diff) | |
download | context-5eb872dbc6bbc35e222d5b23fc783fb0e75d4a99.tar.gz |
beta 2009.12.29 22:32
Diffstat (limited to 'tex/context/base/mult-chk.lua')
-rw-r--r-- | tex/context/base/mult-chk.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mult-chk.lua b/tex/context/base/mult-chk.lua index b0ee39a77..bdbd1dd22 100644 --- a/tex/context/base/mult-chk.lua +++ b/tex/context/base/mult-chk.lua @@ -7,9 +7,9 @@ if not modules then modules = { } end modules ['mult-chk'] = { } local format = string.format +local lpegmatch = lpeg.match local type = type -local texsprint = tex.sprint -local ctxcatcodes = tex.ctxcatcodes +local texsprint, ctxcatcodes = tex.sprint, tex.ctxcatcodes interfaces = interfaces or { } @@ -59,7 +59,7 @@ function commands.getcheckedparameters(k,p,s) if s and s ~= "" then prefix, kind = p, k keys = k and k ~= "" and interfaces.syntax[k].keys - pattern:match(s) + lpegmatch(pattern,s) end end |