pratt: handle &=

pull/3903/head
Alexander Medvednikov 2020-03-01 23:26:23 +01:00
parent f921ea2fb7
commit d05bdad638
1 changed files with 1 additions and 1 deletions

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)