Add bit32 polyfill globally

This commit is contained in:
Guldoman 2022-01-12 00:07:53 +01:00
parent 7eb9908f1a
commit 51975472a9
No known key found for this signature in database
GPG Key ID: C08A498EC7F1AFDD
2 changed files with 2 additions and 1 deletions

View File

@ -32,3 +32,5 @@ end }
table.pack = table.pack or pack or function(...) return {...} end
table.unpack = table.unpack or unpack
bit32 = bit32 or require "core.bit"

View File

@ -1,6 +1,5 @@
local syntax = require "core.syntax"
local common = require "core.common"
local bit32 = require "core.bit"
local tokenizer = {}