diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-02-22 23:11:47 +0000 |
commit | 5c6357cdb820b4f628d036ba7b2248f221d50c0b (patch) | |
tree | 6365552f2737faaffe63a395272da242ee2c4f03 /Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua | |
parent | b4568bc71e054f3d1fd6404b45d2322631778284 (diff) |
ConTeXt version 2019.02.22 19:35
git-svn-id: svn://tug.org/texlive/trunk@50086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua b/Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua index 5f35b8feecd..25716e0a8ad 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua +++ b/Master/texmf-dist/tex/context/base/mkiv/l-bit32.lua @@ -20,7 +20,7 @@ elseif utf8 then -- lua 5.3: bitwise.lua, v 1.24 2014/12/26 17:20:53 roberto - bit32 = load ( [[ + load ( [[ local select = select -- instead of: arg = { ... } bit32 = { @@ -105,13 +105,13 @@ bit32 = { return ((a & ~(mask << f)) | ((v & mask) << f)) & 0xFFFFFFFF end, } - ]] ) + ]] ) () elseif bit then -- luajit (for now) - bit32 = load ( [[ + load ( [[ local band, bnot, rshift, lshift = bit.band, bit.bnot, bit.rshift, bit.lshift bit32 = { @@ -135,7 +135,7 @@ bit32 = { rrotate = bit.ror, rshift = rshift, } - ]] ) + ]] ) () else @@ -146,5 +146,3 @@ else xpcall(function() local _, t = require("bit32") if t then bit32 = t end return end,function() end) end - -return bit32 or false |