From 5f4fbc763a90a38508a0a7d4f4ae7a2262ecbd39 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 25 Apr 2018 22:52:33 -0400 Subject: Removed LuaJIT version of Textadept. Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax. --- src/lutf8libjit.patch | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/lutf8libjit.patch (limited to 'src/lutf8libjit.patch') 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; -- cgit v1.2.3