summaryrefslogtreecommitdiff
path: root/tex/context/base/node-fin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-fin.lua')
-rw-r--r--tex/context/base/node-fin.lua22
1 files changed, 10 insertions, 12 deletions
diff --git a/tex/context/base/node-fin.lua b/tex/context/base/node-fin.lua
index 74b8daf2a..004d72765 100644
--- a/tex/context/base/node-fin.lua
+++ b/tex/context/base/node-fin.lua
@@ -10,21 +10,19 @@ if not modules then modules = { } end modules ['node-fin'] = {
local next, type, format = next, type, string.format
local texsprint = tex.sprint
-
local ctxcatcodes = tex.ctxcatcodes
+local has_attribute, copy_node = node.has_attribute, node.copy
+local starttiming, stoptiming = statistics.starttiming, statistics.stoptiming
-local glyph = node.id('glyph')
-local disc = node.id('disc')
-local glue = node.id('glue')
-local rule = node.id('rule')
-local whatsit = node.id('whatsit')
-local hlist = node.id('hlist')
-local vlist = node.id('vlist')
-
-local has_attribute = node.has_attribute
-local copy_node = node.copy
+local nodecodes = nodes.nodecodes
-local starttiming, stoptiming = statistics.starttiming, statistics.stoptiming
+local glyph = nodecodes.glyph
+local disc = nodecodes.disc
+local glue = nodecodes.glue
+local rule = nodecodes.rule
+local whatsit = nodecodes.whatsit
+local hlist = nodecodes.hlist
+local vlist = nodecodes.vlist
states = states or { }
shipouts = shipouts or { }