replace unpack() with table.unpack()

I have no idea unpack() is still used and how it still worked.
This commit is contained in:
takase1121
2021-08-29 09:14:12 +08:00
parent ccba91261d
commit 30ccde896d
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function tokenizer.tokenize(incoming_syntax, text, state)
if count % 2 == 0 then break end
end
until not res[1] or not close or not target[3]
return unpack(res)
return table.unpack(res)
end
while i <= #text do