diff options
author | 2013-04-17 20:10:14 -0400 | |
---|---|---|
committer | 2013-04-17 20:10:14 -0400 | |
commit | e9c5d08f58abb0485f6e471e0f215c758e4cb2b7 (patch) | |
tree | c42057490694c754105aa7d4b37fcc57712128c7 /core/compat.lua | |
parent | 88419625268cce03b606584624b731ba10e37f21 (diff) | |
download | textadept-e9c5d08f58abb0485f6e471e0f215c758e4cb2b7.tar.gz textadept-e9c5d08f58abb0485f6e471e0f215c758e4cb2b7.zip |
Inline LuaJIT compatibility since it is mostly compatible with Lua 5.2.
Diffstat (limited to 'core/compat.lua')
-rw-r--r-- | core/compat.lua | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/compat.lua b/core/compat.lua deleted file mode 100644 index 98b536db..00000000 --- a/core/compat.lua +++ /dev/null @@ -1,13 +0,0 @@ --- Copyright 2007-2013 Mitchell mitchell.att.foicica.com. See LICENSE. - --- When using LuaJIT try to retain backwards compatibility (Lua 5.1). --- LuaJIT is compiled with LUAJIT_ENABLE_LUA52COMPAT for some Lua 5.2 features. - --- In Lua 5.1, `module` exists. -_G.module = nil -- use _G prefix so LuaDoc does not get confused - --- In Lua 5.1, `package.loaders` is `package.searchers` -package.searchers = package.loaders - --- In LuaJIT, `bit` is used instead of `bit32` -bit32 = bit |