This website requires JavaScript.
Explore
Help
Sign In
walkero
/
lite-xl
Watch
1
Star
0
Fork
You've already forked lite-xl
0
Code
Issues
7
Pull Requests
Projects
Releases
14
Wiki
Activity
847856f92d
lite-xl
/
data
/
core
/
compat.lua
6 lines
94 B
Lua
Raw
Normal View
History
Unescape
Escape
Initial draft of transition to use LuaJIT2 instead of Lua 5.2 There is problem with utf8 expression matching on common.utf8_chars
2020-11-29 11:45:32 +01:00
table.unpack
=
unpack
Fix luajit compatibility for new code The more recent version of lite-xl use the bit32 library and the lua_Buffer functions. These function were not implemented by the minimal compatiblity layer and are now added with this commit. The code is adapted from: https://github.com/keplerproject/lua-compat-5.2
2021-10-02 23:39:04 +02:00
table.pack
=
function
(
...
)
return
{
n
=
select
(
'
#
'
,
...
)
,
...
}
end