summaryrefslogtreecommitdiff
path: root/tex/context/base/node-mig.lua
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-06-26 12:20:16 +0300
committerMarius <mariausol@gmail.com>2011-06-26 12:20:16 +0300
commitde576a467c1e444aa8ea9fb9ce5d944d795aac6b (patch)
treea6e4b2e03b9be15c7f9c2243f194e249eedc39a4 /tex/context/base/node-mig.lua
parent9963d62aabbced75e14b6d5985f2955551210252 (diff)
downloadcontext-de576a467c1e444aa8ea9fb9ce5d944d795aac6b.tar.gz
beta 2011.06.25 14:54
Diffstat (limited to 'tex/context/base/node-mig.lua')
-rw-r--r--tex/context/base/node-mig.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tex/context/base/node-mig.lua b/tex/context/base/node-mig.lua
index 620cb3c0e..8f1e3d71c 100644
--- a/tex/context/base/node-mig.lua
+++ b/tex/context/base/node-mig.lua
@@ -38,7 +38,7 @@ local function locate(head,first,last,ni,nm)
local id = current.id
if id == vlist_code or id == hlist_code then
current.list, first, last, ni, nm = locate(current.list,first,last,ni,nm)
- current= current.next
+ current = current.next
elseif migrate_inserts and id == insert_code then
local insert
head, current, insert = remove_nodes(head,current)
@@ -69,6 +69,7 @@ end
function nodes.handlers.migrate(head,where)
local done = false
if head then
+--~ report_nodes("migration sweep '%s'",where)
local current = head
while current do
local id = current.id
@@ -87,7 +88,7 @@ function nodes.handlers.migrate(head,where)
if first then
t_inserts, t_marks = t_inserts + ni, t_marks + nm
if trace_migrations and (ni > 0 or nm > 0) then
- report_nodes("sweep %s, %s inserts and %s marks migrated outwards",t_sweeps,ni,nm)
+ report_nodes("sweep %s, %s inserts and %s marks migrated outwards during '%s'",t_sweeps,ni,nm,where)
end
-- inserts after head
local n = current.next