summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/strc-reg.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/strc-reg.lmt')
-rw-r--r--tex/context/base/mkxl/strc-reg.lmt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/strc-reg.lmt b/tex/context/base/mkxl/strc-reg.lmt
index 85198a151..a3a7dae6c 100644
--- a/tex/context/base/mkxl/strc-reg.lmt
+++ b/tex/context/base/mkxl/strc-reg.lmt
@@ -1403,7 +1403,9 @@ function registers.flush(data,options,prefixspec,pagespec)
if nofpages > 0 then -- or 0
d = dd
for p=1,nofpages do
- local first, last = pages[p][1], pages[p][2]
+ local page = pages[p]
+ local first = page[1]
+ local last = page[2]
if first == last then
if first.references.lastrealpage then
pagerange(first,first,true,prefixspec,pagespec)