diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-10 17:47:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-10 17:47:11 +0100 |
commit | 0251f343054715fd750860ad537fa16a0419df65 (patch) | |
tree | 105402674b1ad12890bdc6f3dcd12118ce57591f /util/iterators.lua | |
parent | 86358dd5745829fbc998109eedecf3964203fa83 (diff) | |
download | prosody-0251f343054715fd750860ad537fa16a0419df65.tar.gz prosody-0251f343054715fd750860ad537fa16a0419df65.zip |
util: Ignore some Lua 5.1 vs 5.2 compat things [luacheck]
Diffstat (limited to 'util/iterators.lua')
-rw-r--r-- | util/iterators.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/iterators.lua b/util/iterators.lua index bd150ff2..a152e7be 100644 --- a/util/iterators.lua +++ b/util/iterators.lua @@ -12,8 +12,8 @@ local it = {}; local t_insert = table.insert; local select, next = select, next; -local unpack = table.unpack or unpack; --luacheck: ignore 113 -local pack = table.pack or function (...) return { n = select("#", ...), ... }; end +local unpack = table.unpack or unpack; --luacheck: ignore 113 143 +local pack = table.pack or function (...) return { n = select("#", ...), ... }; end -- luacheck: ignore 143 -- Reverse an iterator function it.reverse(f, s, var) |