pratt: handle &=
parent
f921ea2fb7
commit
d05bdad638
|
@ -395,7 +395,7 @@ pub fn (tok Token) precedence() int {
|
||||||
// }
|
// }
|
||||||
// `||`
|
// `||`
|
||||||
// .logical_or,
|
// .logical_or,
|
||||||
.assign, .plus_assign, .minus_assign, .div_assign, .mod_assign, .or_assign,
|
.assign, .plus_assign, .minus_assign, .div_assign, .mod_assign, .or_assign, .and_assign,
|
||||||
//
|
//
|
||||||
.left_shift_assign, .right_shift_assign, .mult_assign {
|
.left_shift_assign, .right_shift_assign, .mult_assign {
|
||||||
return int(Precedence.assign)
|
return int(Precedence.assign)
|
||||||
|
|
Loading…
Reference in New Issue