diff options
Diffstat (limited to 'tex/context/base/strc-blk.lua')
-rw-r--r-- | tex/context/base/strc-blk.lua | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tex/context/base/strc-blk.lua b/tex/context/base/strc-blk.lua index 0c94af5bb..cbdc8c6ea 100644 --- a/tex/context/base/strc-blk.lua +++ b/tex/context/base/strc-blk.lua @@ -18,19 +18,21 @@ local structures, context = structures, context structures.blocks = structures.blocks or { } -local blocks = structures.blocks -local sections = structures.sections -local lists = structures.lists +local blocks = structures.blocks +local sections = structures.sections +local lists = structures.lists -local collected, tobesaved, states = allocate(), allocate(), allocate() +local collected = allocate() +local tobesaved = allocate() +local states = allocate() -blocks.collected = collected -blocks.tobesaved = tobesaved -blocks.states = states +blocks.collected = collected +blocks.tobesaved = tobesaved +blocks.states = states local function initializer() - collected = mark(blocks.collected) - tobesaved = mark(blocks.tobesaved) + collected = blocks.collected + tobesaved = blocks.tobesaved end job.register('structures.blocks.collected', tobesaved, initializer) |