aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-04-25 22:52:33 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2018-04-25 22:52:33 -0400
commit5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39 (patch)
treea66ddc4caf4b8a9509330433571d586a6843fe27 /scripts
parent795f72c6d49c0566517a43808ce7aaf405220f31 (diff)
Removed LuaJIT version of Textadept.
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_iface.lua2
-rwxr-xr-xscripts/osx/textadept_osx4
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/gen_iface.lua b/scripts/gen_iface.lua
index d7294b1a..0d407f9b 100755
--- a/scripts/gen_iface.lua
+++ b/scripts/gen_iface.lua
@@ -27,7 +27,7 @@ for line in io.lines('../src/scintilla/include/Scintilla.iface') do
for i = 1, #ignores do if name:find(ignores[i]) then goto continue end end
name = name:gsub('^SC_', ''):gsub('^SC([^N]%u+)', '%1')
if name == 'FIND_REGEXP' then
- value = tostring(tonumber(value) + 2^22) -- add SCFIND_POSIX
+ value = tostring(tonumber(value) + 2^23) -- add SCFIND_CXX11REGEX
elseif name == 'MASK_FOLDERS' then
value = '-33554432'
end
diff --git a/scripts/osx/textadept_osx b/scripts/osx/textadept_osx
index 5575c9a0..76edf9e8 100755
--- a/scripts/osx/textadept_osx
+++ b/scripts/osx/textadept_osx
@@ -23,6 +23,4 @@ if [ x`echo "x$1" | sed -e "s/^x-psn_.*//"` == x ]; then shift 1; fi
if [ -f $HOME/.textadept/osx_env.sh ]; then . $HOME/.textadept/osx_env.sh; fi
# Run Textadept.
-textadept=textadept
-if [ ! -z $TEXTADEPTJIT ]; then textadept=textadeptjit; fi
-exec "$bundle/Contents/MacOS/$textadept" "$@"
+exec "$bundle/Contents/MacOS/textadept" "$@"