Comparison

util/envload.lua @ 8416:bc9cb23b604a

util.envload: Ignore "undefined variable" warning for loadstring [luacheck with strict 5.2 or 5.3 checks]
author Kim Alvefur <zash@zash.se>
date Thu, 23 Nov 2017 20:51:38 +0100
parent 7930:5dec27760ecd
child 12576:d1aacc6a81ac
comparison
equal deleted inserted replaced
8415:e1b05f9c1ea5 8416:bc9cb23b604a
2 -- Copyright (C) 2008-2011 Florian Zeitz 2 -- Copyright (C) 2008-2011 Florian Zeitz
3 -- 3 --
4 -- This project is MIT/X11 licensed. Please see the 4 -- This project is MIT/X11 licensed. Please see the
5 -- COPYING file in the source package for more information. 5 -- COPYING file in the source package for more information.
6 -- 6 --
7 -- luacheck: ignore 113/setfenv 7 -- luacheck: ignore 113/setfenv 113/loadstring
8 8
9 local load, loadstring, setfenv = load, loadstring, setfenv; 9 local load, loadstring, setfenv = load, loadstring, setfenv;
10 local io_open = io.open; 10 local io_open = io.open;
11 local envload; 11 local envload;
12 local envloadfile; 12 local envloadfile;