diff options
Diffstat (limited to 'source/luametatex/source/luacore/lua54')
-rw-r--r-- | source/luametatex/source/luacore/lua54/originals/patches.txt | 22 | ||||
-rw-r--r-- | source/luametatex/source/luacore/lua54/readme.txt | 16 |
2 files changed, 19 insertions, 19 deletions
diff --git a/source/luametatex/source/luacore/lua54/originals/patches.txt b/source/luametatex/source/luacore/lua54/originals/patches.txt index 8a3fc4363..ebd644527 100644 --- a/source/luametatex/source/luacore/lua54/originals/patches.txt +++ b/source/luametatex/source/luacore/lua54/originals/patches.txt @@ -1,11 +1,11 @@ --------------------------------------------------------------------------------------- -lctype.h : no longer needed as we dan use -DLUA_UCID now --------------------------------------------------------------------------------------- - -/* lislalpha(c) testprop(c, MASK(ALPHABIT)) */ -/* lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) */ - -# define lislalpha(c) (testprop(c, MASK(ALPHABIT)) || (c) > 0x7f) -# define lislalnum(c) (testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) || (c) > 0x7f) - --------------------------------------------------------------------------------------- +--------------------------------------------------------------------------------------
+lctype.h : no longer needed as we dan use -DLUA_UCID now
+--------------------------------------------------------------------------------------
+
+/* lislalpha(c) testprop(c, MASK(ALPHABIT)) */
+/* lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) */
+
+# define lislalpha(c) (testprop(c, MASK(ALPHABIT)) || (c) > 0x7f)
+# define lislalnum(c) (testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) || (c) > 0x7f)
+
+--------------------------------------------------------------------------------------
diff --git a/source/luametatex/source/luacore/lua54/readme.txt b/source/luametatex/source/luacore/lua54/readme.txt index 5637f04ae..5b3ad4918 100644 --- a/source/luametatex/source/luacore/lua54/readme.txt +++ b/source/luametatex/source/luacore/lua54/readme.txt @@ -1,8 +1,8 @@ -This is Lua 5.4 as taken from: https://github.com/lua/lua.git (intermediate releases). For -installation instructions, license details, and further information about Lua, see the -documentation of LUA. - -There is a pitfall in using release candidates: when the bytecode organization changes -we can get crashes. At some point the luac version became an integer so we could encode -a subnumber but that was reverted to a byte. This means that we again can get crashes -(unless we mess a bit with that byte). It makes usage a bit fragile but so be it. +This is Lua 5.4 as taken from: https://github.com/lua/lua.git (intermediate releases). For
+installation instructions, license details, and further information about Lua, see the
+documentation of LUA.
+
+There is a pitfall in using release candidates: when the bytecode organization changes
+we can get crashes. At some point the luac version became an integer so we could encode
+a subnumber but that was reverted to a byte. This means that we again can get crashes
+(unless we mess a bit with that byte). It makes usage a bit fragile but so be it.
|