summaryrefslogtreecommitdiff
path: root/tex/context/base/trac-set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/trac-set.lua')
-rw-r--r--tex/context/base/trac-set.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/trac-set.lua b/tex/context/base/trac-set.lua
index 4cb1b65d1..3b99b489c 100644
--- a/tex/context/base/trac-set.lua
+++ b/tex/context/base/trac-set.lua
@@ -11,6 +11,7 @@ local concat = table.concat
local format, find, lower, gsub, partialescapedpattern = string.format, string.find, string.lower, string.gsub, string.partialescapedpattern
local is_boolean = string.is_boolean
local settings_to_hash = utilities.parsers.settings_to_hash
+local allocate = utilities.storage.allocate
utilities = utilities or { }
local utilities = utilities
@@ -205,7 +206,7 @@ local enable, disable, register, list, show = setters.enable, setters.disable, s
function setters.new(name)
local t -- we need to access it in t
t = {
- data = { }, -- indexed, but also default and value fields
+ data = allocate(), -- indexed, but also default and value fields
name = name,
enable = function(...) enable (t,...) end,
disable = function(...) disable (t,...) end,