diff options
author | Mike Pall <mike> | 2012-02-17 11:40:18 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2012-02-17 11:40:18 +0100 |
commit | 6c05739684527919293e25668589f17c35a7c129 (patch) | |
tree | c77442560161b0b512533b84f865c1fee18bff48 /dynasm/dasm_x86.lua | |
parent | ff7139493196f8b43bc8912a9ea33d4d5e169796 (diff) | |
download | luajit-6c05739684527919293e25668589f17c35a7c129.tar.gz luajit-6c05739684527919293e25668589f17c35a7c129.tar.bz2 luajit-6c05739684527919293e25668589f17c35a7c129.zip |
DynASM: Lua 5.2 compatibility fixes.
Diffstat (limited to 'dynasm/dasm_x86.lua')
-rw-r--r-- | dynasm/dasm_x86.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dynasm/dasm_x86.lua b/dynasm/dasm_x86.lua index 13319285..3bebb83c 100644 --- a/dynasm/dasm_x86.lua +++ b/dynasm/dasm_x86.lua | |||
@@ -23,7 +23,7 @@ local _M = { _info = _info } | |||
23 | 23 | ||
24 | -- Cache library functions. | 24 | -- Cache library functions. |
25 | local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs | 25 | local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs |
26 | local assert, unpack, setmetatable = assert, unpack, setmetatable | 26 | local assert, unpack, setmetatable = assert, unpack or table.unpack, setmetatable |
27 | local _s = string | 27 | local _s = string |
28 | local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char | 28 | local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char |
29 | local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub | 29 | local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub |