Raise precedence of ~ and %.

This commit is contained in:
Stephen Chung
2020-10-13 09:33:16 +08:00
parent e6667a3996
commit 0b4129fb98
2 changed files with 5 additions and 2 deletions

View File

@@ -623,7 +623,9 @@ impl Token {
Plus | Minus => 150,
Divide | Multiply | PowerOf | Modulo => 180,
Divide | Multiply => 180,
PowerOf | Modulo => 190,
LeftShift | RightShift => 210,