diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-04-16 13:13:20 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-04-16 13:13:20 +0200 |
commit | d57683f5f67d6651f7b3353ff347ae57a409e0d4 (patch) | |
tree | 1ffc5bda90e3eedad0a35eaa8937472f5563c796 /tex/context/base/mkiv/util-sto.lua | |
parent | d5d5a39dc16881d098a99b74cba9020d96be4e11 (diff) | |
download | context-d57683f5f67d6651f7b3353ff347ae57a409e0d4.tar.gz |
2018-04-16 12:13:00
Diffstat (limited to 'tex/context/base/mkiv/util-sto.lua')
-rw-r--r-- | tex/context/base/mkiv/util-sto.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/util-sto.lua b/tex/context/base/mkiv/util-sto.lua index 0da685e9f..a08d25ced 100644 --- a/tex/context/base/mkiv/util-sto.lua +++ b/tex/context/base/mkiv/util-sto.lua @@ -197,6 +197,9 @@ function table.getmetatablekey(t,key,value) end function table.makeweak(t) + if not t then + t = { } + end local m = getmetatable(t) if m then m.__mode = "v" |