summaryrefslogtreecommitdiff
path: root/mkglyphlist
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-05-05 00:28:02 -0700
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-05-05 00:28:02 -0700
commit0a60523dfb9e89bc67a78b423a753166bbde2b32 (patch)
tree5eb4bfd88b7d9ddf18982e61143f5b6fc2e52909 /mkglyphlist
parent7c1916deae8420ae3120baaa17524c56f7dfdbb0 (diff)
parent4d710465b3ee51293a0f4154f14f26b951351819 (diff)
downloadluaotfload-0a60523dfb9e89bc67a78b423a753166bbde2b32.tar.gz
Merge pull request #43 from phi-gamma/master
modifications to color handling
Diffstat (limited to 'mkglyphlist')
-rwxr-xr-xmkglyphlist10
1 files changed, 7 insertions, 3 deletions
diff --git a/mkglyphlist b/mkglyphlist
index d73a608..281c736 100755
--- a/mkglyphlist
+++ b/mkglyphlist
@@ -27,9 +27,13 @@ require"lpeg"
require"socket"
kpse.set_program_name"luatex"
-dofile(kpse.find_file("lualibs-lua.lua", "lua"))
-dofile(kpse.find_file("lualibs-lpeg.lua", "lua"))
-dofile(kpse.find_file("lualibs-table.lua", "lua")) --- for serialization
+for _, lib in next, { "lualibs-lua.lua",
+ "lualibs-lpeg.lua",
+ "lualibs-table.lua", } do
+ local found = assert(kpse.find_file(lib, "lua"),
+ "Could not locate " .. lib)
+ require(found)
+end
local C, Cf, Cg, Ct, P, R =
lpeg.C, lpeg.Cf, lpeg.Cg, lpeg.Ct, lpeg.P, lpeg.R