diff options
Diffstat (limited to 'source/luametatex/source/luacore/lua54/originals/patches.txt')
-rw-r--r-- | source/luametatex/source/luacore/lua54/originals/patches.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/luametatex/source/luacore/lua54/originals/patches.txt b/source/luametatex/source/luacore/lua54/originals/patches.txt new file mode 100644 index 000000000..8a3fc4363 --- /dev/null +++ b/source/luametatex/source/luacore/lua54/originals/patches.txt @@ -0,0 +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) + +-------------------------------------------------------------------------------------- |