diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-06-26 14:36:32 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-06-26 14:36:32 +0200 |
commit | 3bc02e08823ca9d94cd3da01161ec511c9fdec3f (patch) | |
tree | 6051c9646606ab77131c52b7bbb97efbb4000c75 /tex/context/modules/mkiv/m-chart.lua | |
parent | 2e657baa195eb8a5011a0f08eeb32bd3396ea1bf (diff) | |
download | context-3bc02e08823ca9d94cd3da01161ec511c9fdec3f.tar.gz |
2020-06-26 13:28:00
Diffstat (limited to 'tex/context/modules/mkiv/m-chart.lua')
-rw-r--r-- | tex/context/modules/mkiv/m-chart.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/modules/mkiv/m-chart.lua b/tex/context/modules/mkiv/m-chart.lua index 76efbedfd..6c57f070e 100644 --- a/tex/context/modules/mkiv/m-chart.lua +++ b/tex/context/modules/mkiv/m-chart.lua @@ -323,7 +323,7 @@ implement { implement { name = "flow_set_text", - arguments = { "string", "string" }, + arguments = "2 strings", actions = function(align,str) temp.texts[#temp.texts+1] = { align = align, @@ -358,7 +358,7 @@ implement { implement { name = "flow_set_label", - arguments = { "string", "string" }, + arguments = "2 strings", actions = function(location,text) temp.labels[#temp.labels+1] = { location = location, @@ -369,7 +369,7 @@ implement { implement { name = "flow_set_comment", - arguments = { "string", "string" }, + arguments = "2 strings", actions = function(location,text) local connections = temp.connections if connections then @@ -389,7 +389,7 @@ implement { implement { name = "flow_set_exit", - arguments = { "string", "string" }, + arguments = "2 strings", actions = function(location,text) temp.exits[#temp.exits+1] = { location = location, @@ -582,7 +582,7 @@ implement { implement { name = "flow_set_connection", - arguments = { "string", "string", "string" }, + arguments = "3 strings", actions = function(location,displacement,name) local dx, dy = lpegmatch(splitter,displacement) dx = tonumber(dx) |