summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-01-14 13:51:56 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2014-01-14 13:51:56 +0100
commitb7a935f81e6d80ff31f92bb75cdf175029524fea (patch)
tree25c95f8f8514e41064666ed6578d261cfb3c4d70
parentcbf1a28451ad42a7f8c2a9256810868f378e4631 (diff)
downloadluaotfload-b7a935f81e6d80ff31f92bb75cdf175029524fea.tar.gz
[db] strip redundand locals
-rw-r--r--luaotfload-database.lua10
1 files changed, 2 insertions, 8 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index 762e853..3f321d2 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -36,13 +36,8 @@ if not modules then modules = { } end modules ['luaotfload-database'] = {
--doc]]--
-local lpeg = require "lpeg"
-
-local P, R, S, lpegmatch
- = lpeg.P, lpeg.R, lpeg.S, lpeg.match
-
-local C, Cc, Cf, Cg, Cs, Ct
- = lpeg.C, lpeg.Cc, lpeg.Cf, lpeg.Cg, lpeg.Cs, lpeg.Ct
+local lpeg = require "lpeg"
+local P, Cc, lpegmatch = lpeg.P, lpeg.Cc, lpeg.match
local parsers = luaotfload.parsers
local read_fonts_conf = parsers.read_fonts_conf
@@ -65,7 +60,6 @@ local iolines = io.lines
local ioopen = io.open
local iopopen = io.popen
local kpseexpand_path = kpse.expand_path
-local kpseexpand_var = kpse.expand_var
local kpsefind_file = kpse.find_file
local kpselookup = kpse.lookup
local kpsereadable_file = kpse.readable_file