diff options
Diffstat (limited to 'tex/context/base/strc-reg.lua')
-rw-r--r-- | tex/context/base/strc-reg.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tex/context/base/strc-reg.lua b/tex/context/base/strc-reg.lua index ff30bb0df..7d001953f 100644 --- a/tex/context/base/strc-reg.lua +++ b/tex/context/base/strc-reg.lua @@ -478,6 +478,10 @@ local function storeregister(rawdata) -- metadata, references, entries local name = metadata.name local notsaved = tobesaved[name].metadata.notsaved -- + if not references then + references = { } + rawdata.references = references + end local internal = references.internal if not internal then internal = texgetcount("locationcount") -- we assume that it has been set |