diff options
author | Marius <mariausol@gmail.com> | 2010-08-19 10:29:42 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-08-19 10:29:42 +0300 |
commit | 7d7e0d3c8d778650105cfb479f31a2bb54d69d50 (patch) | |
tree | e0c4e7d8bf466a70af56be02a0de703bbd09a5af /tex/context/base/mult-chk.lua | |
parent | b469b8ec1b494ab72cd462bfc539ce01440e6aaf (diff) | |
download | context-7d7e0d3c8d778650105cfb479f31a2bb54d69d50.tar.gz |
beta 2010.08.19 01:08
Diffstat (limited to 'tex/context/base/mult-chk.lua')
-rw-r--r-- | tex/context/base/mult-chk.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/tex/context/base/mult-chk.lua b/tex/context/base/mult-chk.lua index bdbd1dd22..46b67e864 100644 --- a/tex/context/base/mult-chk.lua +++ b/tex/context/base/mult-chk.lua @@ -10,6 +10,7 @@ local format = string.format local lpegmatch = lpeg.match local type = type local texsprint, ctxcatcodes = tex.sprint, tex.ctxcatcodes +local make_settings_to_hash_pattern, settings_to_set = utilities.parsers.make_settings_to_hash_pattern, utilities.parsers.settings_to_set interfaces = interfaces or { } @@ -25,10 +26,10 @@ function interfaces.setvalidkeys(kind,list) local s = interfaces.syntax[kind] if not s then interfaces.syntax[kind] = { - keys = aux.settings_to_set(list) + keys = settings_to_set(list) } else - s.keys = aux.settings_to_set(list) + s.keys = settings_to_set(list) end end @@ -36,10 +37,10 @@ function interfaces.addvalidkeys(kind,list) local s = interfaces.syntax[kind] if not s then interfaces.syntax[kind] = { - keys = aux.settings_to_set(list) + keys = settings_to_set(list) } else - aux.settings_to_set(list,s.keys) + settings_to_set(list,s.keys) end end @@ -53,9 +54,9 @@ local function set(key,value) end end -local pattern = aux.make_settings_to_hash_pattern(set,"tolerant") +local pattern = make_settings_to_hash_pattern(set,"tolerant") -function commands.getcheckedparameters(k,p,s) +function interfaces.getcheckedparameters(k,p,s) if s and s ~= "" then prefix, kind = p, k keys = k and k ~= "" and interfaces.syntax[k].keys @@ -63,4 +64,4 @@ function commands.getcheckedparameters(k,p,s) end end -_gcp_ = commands.getcheckedparameters +-- _igcp_ = interfaces.getcheckedparameters |