mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pratt: handle &=
This commit is contained in:
parent
f921ea2fb7
commit
d05bdad638
@ -395,7 +395,7 @@ pub fn (tok Token) precedence() int {
|
||||
// }
|
||||
// `||`
|
||||
// .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 {
|
||||
return int(Precedence.assign)
|
||||
|
Loading…
Reference in New Issue
Block a user