diff options
Diffstat (limited to 'tex/context/base/mkxl/math-noa.lmt')
-rw-r--r-- | tex/context/base/mkxl/math-noa.lmt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tex/context/base/mkxl/math-noa.lmt b/tex/context/base/mkxl/math-noa.lmt index a4858363b..fd30db573 100644 --- a/tex/context/base/mkxl/math-noa.lmt +++ b/tex/context/base/mkxl/math-noa.lmt @@ -30,7 +30,6 @@ local formatters, gmatch = string.formatters, string.gmatch local sortedhash = table.sortedhash local insert, remove = table.insert, table.remove local div, round = math.div, math.round -local bor, band = bit32.bor, bit32.band local fonts = fonts local nodes = nodes @@ -1320,7 +1319,7 @@ do local last = 0 local known = setmetatableindex(function(t,k) - local v = bor(0,2^last) + local v = 0 | 2^last t[k] = v last = last + 1 return v @@ -1435,7 +1434,7 @@ do else local a = alternates[s] -- or known[s] if a then - attribute = bor(attribute,a) + attribute = attribute | a end end end @@ -1450,7 +1449,7 @@ do end end if attribute > 0 and current and current > 0 then - return bor(current,attribute) + return current | attribute else return attribute end @@ -1492,7 +1491,7 @@ do local hashes = mathalternates.hashes for i=1,#registered do local r = registered[i] - if band(a,r) ~= 0 then + if (a & r) ~= 0 then local char = getchar(pointer) local alt = hashes[i][char] if alt == nil then |