Changeset

8556:5800f0c7afd6

util.logger: Import globals (fixes on Lua 5.2)
author Kim Alvefur <zash@zash.se>
date Wed, 28 Feb 2018 20:17:21 +0100
parents 8555:4f0f5b49bb03
children 8557:28f9b8a5d9cb
files util/logger.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/logger.lua	Wed Feb 28 20:06:26 2018 +0100
+++ b/util/logger.lua	Wed Feb 28 20:17:21 2018 +0100
@@ -8,6 +8,8 @@
 -- luacheck: ignore 213/level
 
 local pairs = pairs;
+local ipairs = ipairs;
+local require = require;
 
 local _ENV = nil;
 -- luacheck: std none