summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/syst-lua.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-06-25 12:13:32 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-06-25 12:13:32 +0200
commit2e657baa195eb8a5011a0f08eeb32bd3396ea1bf (patch)
tree183b7c9ce7a4f897c57743d6bbfe31ab0db42495 /tex/context/base/mkiv/syst-lua.lua
parent56c53b52bfa815946a62fdb28ee432b5d849b9c9 (diff)
downloadcontext-2e657baa195eb8a5011a0f08eeb32bd3396ea1bf.tar.gz
2020-06-25 10:58:00
Diffstat (limited to 'tex/context/base/mkiv/syst-lua.lua')
-rw-r--r--tex/context/base/mkiv/syst-lua.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/tex/context/base/mkiv/syst-lua.lua b/tex/context/base/mkiv/syst-lua.lua
index 77960def7..5976e077f 100644
--- a/tex/context/base/mkiv/syst-lua.lua
+++ b/tex/context/base/mkiv/syst-lua.lua
@@ -20,11 +20,9 @@ local ctx_secondoftwoarguments = context.secondoftwoarguments
local ctx_firstofoneargument = context.firstofoneargument
local ctx_gobbleoneargument = context.gobbleoneargument
-local two_strings = interfaces.strings[2]
-
implement { -- will be overloaded later
name = "writestatus",
- arguments = two_strings,
+ arguments = "2 strings",
actions = logs.status,
}
@@ -123,7 +121,7 @@ implement {
implement {
name = "doifelsesame",
- arguments = two_strings,
+ arguments = "2 strings",
actions = function(a,b)
if a == b then
ctx_firstoftwoarguments()
@@ -135,7 +133,7 @@ implement {
implement {
name = "doifsame",
- arguments = two_strings,
+ arguments = "2 strings",
actions = function(a,b)
if a == b then
ctx_firstofoneargument()
@@ -147,7 +145,7 @@ implement {
implement {
name = "doifnotsame",
- arguments = two_strings,
+ arguments = "2 strings",
actions = function(a,b)
if a == b then
ctx_gobbleoneargument()