diff options
author | Marius <mariausol@gmail.com> | 2013-10-20 01:20:14 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-10-20 01:20:14 +0300 |
commit | 965214d981e6129b782c67adcaf3a81aedcb0bac (patch) | |
tree | 84f5945aae8efc9b6eb1898b873be5453cafe43d /tex/context/base/node-tsk.lua | |
parent | e7d0d90a434e5452ff9e86c8abab5a4cac35e2f1 (diff) | |
download | context-965214d981e6129b782c67adcaf3a81aedcb0bac.tar.gz |
stable 2013.05.28 00:36
Diffstat (limited to 'tex/context/base/node-tsk.lua')
-rw-r--r-- | tex/context/base/node-tsk.lua | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/tex/context/base/node-tsk.lua b/tex/context/base/node-tsk.lua index dfa570b24..596ac765a 100644 --- a/tex/context/base/node-tsk.lua +++ b/tex/context/base/node-tsk.lua @@ -18,11 +18,10 @@ local report_tasks = logs.reporter("tasks") local allocate = utilities.storage.allocate -local context = context local nodes = nodes -local tasks = nodes.tasks or { } -nodes.tasks = tasks +nodes.tasks = nodes.tasks or { } +local tasks = nodes.tasks local tasksdata = { } -- no longer public @@ -117,14 +116,6 @@ function tasks.disableaction(name,action) end end -function tasks.setaction(name,action,value) - if value then - tasks.enableaction(name,action) - else - tasks.disableaction(name,action) - end -end - function tasks.enablegroup(name,group) local data = validgroup(name,"enable group") if data then @@ -326,8 +317,7 @@ end tasks.new { name = "processors", - arguments = 5, -- often only the first is used, and the last three are only passed in hpack filter --- arguments = 2, + arguments = 4, processor = nodeprocessor, sequence = { "before", -- for users |