Refactor table library to match lua 5.2
This commit is contained in:
@@ -114,7 +114,7 @@ local function split(t)
|
||||
end
|
||||
|
||||
local function expand(argsets, typesets, ...)
|
||||
local arg = {...} ; arg.n = #arg
|
||||
local arg = table.pack(...)
|
||||
local n = typesets and #typesets or 0
|
||||
if n <= 0 then
|
||||
table.insert(argsets,arg)
|
||||
|
||||
Reference in New Issue
Block a user