Open Discookie opened 4 weeks ago
Bit-ops do not have the same precedence in lua, so for example x = h1 >> 6 | h2 << 20 gets misparsed into x = ((h1 >> 6) | h2) << 20, when it should be x = ((h1 >> 6) | (h2 << 20)).
x = h1 >> 6 | h2 << 20
x = ((h1 >> 6) | h2) << 20
x = ((h1 >> 6) | (h2 << 20))
Bit-ops do not have the same precedence in lua, so for example
x = h1 >> 6 | h2 << 20
gets misparsed intox = ((h1 >> 6) | h2) << 20
, when it should bex = ((h1 >> 6) | (h2 << 20))
.