replace unpack() with table.unpack()

I have no idea unpack() is still used and how it still worked.
This commit is contained in:
takase1121 committed 2021-08-29 09:14:12 +08:00
1 parent ccba91261d
commit 30ccde896d
3 files changed
+12 -12

No files matched your search

+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