1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

pratt: handle &=

This commit is contained in:
Alexander Medvednikov 2020-03-01 23:26:23 +01:00
parent f921ea2fb7
commit d05bdad638

View File

@ -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)