summaryrefslogtreecommitdiff
path: root/tex/context/base/core-two.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-two.lua')
-rw-r--r--tex/context/base/core-two.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/tex/context/base/core-two.lua b/tex/context/base/core-two.lua
index c1a55b9f9..51f6dd890 100644
--- a/tex/context/base/core-two.lua
+++ b/tex/context/base/core-two.lua
@@ -8,15 +8,16 @@ if not modules then modules = { } end modules ['core-two'] = {
local remove, concat = table.remove, table.concat
local texprint = tex.print
-local allocate, mark = utilities.storage.allocate, utilities.storage.mark
-
-local collected, tobesaved = allocate(), allocate()
+local allocate = utilities.storage.allocate
--[[ldx--
<p>We save multi-pass information in the main utility table. This is a
bit of a mess because we support old and new methods.</p>
--ldx]]--
+local collected = allocate()
+local tobesaved = allocate()
+
local jobpasses = {
collected = collected,
tobesaved = tobesaved,
@@ -25,8 +26,8 @@ local jobpasses = {
job.passes = jobpasses
local function initializer()
- collected = mark(jobpasses.collected)
- tobesaved = mark(jobpasses.tobesaved)
+ collected = jobpasses.collected
+ tobesaved = jobpasses.tobesaved
end
job.register('job.passes.collected', tobesaved, initializer, nil)