summaryrefslogtreecommitdiff
path: root/luaotfload-database.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-28 16:39:26 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-28 16:39:26 +0200
commit74ebd14b94432c9de82614627454dfa3bfcb9de0 (patch)
tree38061a665a25f2050162d1ef0c752a4f7b3c42da /luaotfload-database.lua
parent98147cdc664312aa287a46a6d64c0e8fa86ebdbc (diff)
downloadluaotfload-74ebd14b94432c9de82614627454dfa3bfcb9de0.tar.gz
add lookups ``file:``, ``path:``, ``name:``, and ``anon:``
Diffstat (limited to 'luaotfload-database.lua')
-rw-r--r--luaotfload-database.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index b678f51..eb8271d 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -295,7 +295,7 @@ end
--- string -> (string * bool | int)
crude_file_lookup_verbose = function (filename)
- if not names.data then names.data = names_reload() end
+ if not names.data then names.data = load_names() end
local data = names.data
local mappings = data.mappings
local found
@@ -344,7 +344,7 @@ end
--- string -> (string * bool | int)
crude_file_lookup = function (filename)
- if not names.data then names.data = names_reload() end
+ if not names.data then names.data = load_names() end
local data = names.data
local mappings = data.mappings
local found = data.barenames[filename]