summaryrefslogtreecommitdiff
path: root/tex/context/base/data-inp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/data-inp.lua')
-rw-r--r--tex/context/base/data-inp.lua12
1 files changed, 5 insertions, 7 deletions
diff --git a/tex/context/base/data-inp.lua b/tex/context/base/data-inp.lua
index 45a348b7d..b3e30a6c6 100644
--- a/tex/context/base/data-inp.lua
+++ b/tex/context/base/data-inp.lua
@@ -6,12 +6,10 @@ if not modules then modules = { } end modules ['data-inp'] = {
license = "see context related readme files"
}
-local resolvers = resolvers
+local allocate = utilities.storage.allocate
-resolvers.finders = resolvers.finders or { }
-resolvers.openers = resolvers.openers or { }
-resolvers.loaders = resolvers.loaders or { }
+local resolvers = resolvers
-resolvers.finders.notfound = { nil }
-resolvers.openers.notfound = { nil }
-resolvers.loaders.notfound = { false, nil, 0 }
+resolvers.finders = allocate { notfound = { nil } }
+resolvers.openers = allocate { notfound = { nil } }
+resolvers.loaders = allocate { notfound = { false, nil, 0 } }