From 6c05739684527919293e25668589f17c35a7c129 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 17 Feb 2012 11:40:18 +0100 Subject: DynASM: Lua 5.2 compatibility fixes. --- dynasm/dasm_x86.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dynasm/dasm_x86.lua') 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 } -- Cache library functions. local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs -local assert, unpack, setmetatable = assert, unpack, setmetatable +local assert, unpack, setmetatable = assert, unpack or table.unpack, setmetatable local _s = string local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub -- cgit v1.2.3-55-g6feb