diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-21 23:15:04 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-12-21 23:15:04 +0100 |
commit | 69d17e62dd57cce4d59d020319edf1c5121f4319 (patch) | |
tree | df9470198e48f3a516f4e1d31df332fcfa8ab7a9 /tex/context/base/node-nut.lua | |
parent | 36be5943fa71b0543ccea4a771c4cea9361cfcc2 (diff) | |
download | context-69d17e62dd57cce4d59d020319edf1c5121f4319.tar.gz |
2014-12-21 22:28:00
Diffstat (limited to 'tex/context/base/node-nut.lua')
-rw-r--r-- | tex/context/base/node-nut.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tex/context/base/node-nut.lua b/tex/context/base/node-nut.lua index 50274c2ab..cbf1c686c 100644 --- a/tex/context/base/node-nut.lua +++ b/tex/context/base/node-nut.lua @@ -136,6 +136,20 @@ nuts.getsubtype = direct.getsubtype nuts.getlist = direct.getlist -- only hlist and vlist ! nuts.getleader = direct.getleader +-- local function track(name) +-- local n = 0 +-- local f = nuts[name] +-- function nuts[name](...) +-- n = n + 1 +-- if n % 1000 == 0 then +-- print(name,n) +-- end +-- return f(...) +-- end +-- end + +-- track("getsubtype") + -- local dgf = direct.getfield function nuts.getlist(n) return dgf(n,"list") end -- setters |