diff options
author | 2011-12-16 10:03:37 -0500 | |
---|---|---|
committer | 2011-12-16 10:03:37 -0500 | |
commit | 73cb01e42377c3d769275d2ee01d33332d796707 (patch) | |
tree | a6350da80d34c041b6318537d799cf0f0a417a45 /core | |
parent | 494f481c7f04f43cf171f96a0085f0b8207c33bd (diff) | |
download | textadept-73cb01e42377c3d769275d2ee01d33332d796707.tar.gz textadept-73cb01e42377c3d769275d2ee01d33332d796707.zip |
Fixed bug in core/compat.lua for LuaJIT.
Diffstat (limited to 'core')
-rw-r--r-- | core/compat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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. |