From 73cb01e42377c3d769275d2ee01d33332d796707 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Fri, 16 Dec 2011 10:03:37 -0500 Subject: Fixed bug in core/compat.lua for LuaJIT. --- core/compat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/compat.lua') diff --git a/core/compat.lua b/core/compat.lua index 245233b3..1bbf4a3b 100644 --- a/core/compat.lua +++ b/core/compat.lua @@ -7,7 +7,7 @@ local xpcall51 = xpcall function xpcall(f, error, ...) local args = {...} - return xpcall51(function() f(unpack(args)) end, error) + return xpcall51(function() return f(unpack(args)) end, error) end -- In Lua 5.1, `load` did not take mode and environment parameters. -- cgit v1.2.3