aboutsummaryrefslogtreecommitdiffstats
path: root/util/envload.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.envload: Ignore "undefined variable" warning for loadstring [luacheck ↵Kim Alvefur2017-11-231-1/+1
| | | | with strict 5.2 or 5.3 checks]
* util.envload: Close file handle after reading dataKim Alvefur2017-03-011-1/+4
|
* util.envload: Open file here instead of letting loadfile do it so that all ↵Kim Alvefur2017-03-011-3/+8
| | | | return values from io.open can be collected
* util.envload: Ignore use of Lua 5.1-only setfenv function [luacheck]Kim Alvefur2016-11-201-0/+1
|
* util.envload: New module to abstract Lua 5.1's setfenv and Lua 5.2's loadFlorian Zeitz2012-06-071-0/+34