aboutsummaryrefslogtreecommitdiff
path: root/src/lutf8libjit.patch
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-04-25 22:52:33 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-04-25 22:52:33 -0400
commit5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39 (patch)
treea66ddc4caf4b8a9509330433571d586a6843fe27 /src/lutf8libjit.patch
parent795f72c6d49c0566517a43808ce7aaf405220f31 (diff)
downloadtextadept-5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39.tar.gz
textadept-5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39.zip
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 'src/lutf8libjit.patch')
-rw-r--r--src/lutf8libjit.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lutf8libjit.patch b/src/lutf8libjit.patch
deleted file mode 100644
index 7910596d..00000000
--- a/src/lutf8libjit.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- lutf8lib.c 2015-01-12 18:46:22.334838510 -0500
-+++ lib/lutf8lib.c 2015-01-12 22:42:54.527406794 -0500
-@@ -246,8 +246,9 @@
- };
-
-
--LUAMOD_API int luaopen_utf8 (lua_State *L) {
-- luaL_newlib(L, funcs);
-+int luaopen_utf8 (lua_State *L) {
-+ lua_newtable(L), luaL_register(L, "utf8", funcs);
-+ lua_pushvalue(L, -1), lua_setglobal(L, "utf8");
- lua_pushlstring(L, UTF8PATT, sizeof(UTF8PATT)/sizeof(char) - 1);
- lua_setfield(L, -2, "charpattern");
- return 1;