diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-04-11 16:45:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-04-11 16:45:00 +0200 |
commit | 612f23ed1b01240fdc9ca5132dbd3164e96ed570 (patch) | |
tree | 8eafde3944b1b46eae32e68b240a5eb9cf5f71fc /tex/context/base/core-two.lua | |
parent | 0bd8dee4e7e38cfb027bf788505de24aca28261c (diff) | |
download | context-612f23ed1b01240fdc9ca5132dbd3164e96ed570.tar.gz |
beta 2011.04.11 16:45
Diffstat (limited to 'tex/context/base/core-two.lua')
-rw-r--r-- | tex/context/base/core-two.lua | 11 |
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) |