diff options
Diffstat (limited to 'tex/context/base/node-ini.lua')
-rw-r--r-- | tex/context/base/node-ini.lua | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/tex/context/base/node-ini.lua b/tex/context/base/node-ini.lua index 2fb3fe9c6..8dd55b468 100644 --- a/tex/context/base/node-ini.lua +++ b/tex/context/base/node-ini.lua @@ -209,14 +209,24 @@ end trackers.register("system.showcodes", nodes.showcodes) -local hlist_code = nodecodes.hlist -local vlist_code = nodecodes.vlist +local hlist_code = nodecodes.hlist +local vlist_code = nodecodes.vlist +local glue_code = nodecodes.glue function nodes.remove(head, current, free_too) local t = current head, current = remove_node(head,current) if t then if free_too then +--~ if t.id == glue_code then +--~ local s = t.spec +--~ print(t) +--~ print(s,s and s.writable) +--~ if s and s.writable then +--~ free_node(s) +--~ end +--~ t.spec = nil +--~ end free_node(t) t = nil else |