diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-06-25 13:51:38 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-06-25 13:51:38 +0200 |
commit | 052a096e160508ddbbbfcbf1522eb8ddbfc3b1cd (patch) | |
tree | 56909e4ba4f9e8609b153fc1ce19284485c6c3ec /tex/context/base/mkiv/node-ref.lua | |
parent | 00e28123f9c3e7393ea0a49052bc0a3b91a0db4f (diff) | |
download | context-052a096e160508ddbbbfcbf1522eb8ddbfc3b1cd.tar.gz |
2018-06-25 12:28:00
Diffstat (limited to 'tex/context/base/mkiv/node-ref.lua')
-rw-r--r-- | tex/context/base/mkiv/node-ref.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/node-ref.lua b/tex/context/base/mkiv/node-ref.lua index 287112cc8..492c65b0c 100644 --- a/tex/context/base/mkiv/node-ref.lua +++ b/tex/context/base/mkiv/node-ref.lua @@ -556,11 +556,11 @@ nodes.references = { -- todo: get rid of n (n is just a number, can be used for tracing, obsolete) -local function setreference(h,d,r) +local function setreference(h,d,r) -- h and d can be nil topofstack = topofstack + 1 -- the preroll permits us to determine samepage (but delayed also has some advantages) -- so some part of the backend work is already done here - stack[topofstack] = { r, h, d, codeinjections.prerollreference(r) } + stack[topofstack] = { r, h or false, d or false, codeinjections.prerollreference(r) } -- texsetattribute(attribute,topofstack) -- todo -> at tex end texsetcount("lastreferenceattribute",topofstack) end |