diff --git a/src/parser.rs b/src/parser.rs index 7f66de1..c3c2f2c 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -118,7 +118,9 @@ impl<'source> Parser<'source> { | Token::EqualEqual | Token::NotEqual | Token::LessThan - | Token::GreaterThan => Ok(Expr::new( + | Token::GreaterThan + | Token::And + | Token::Or => Ok(Expr::new( self.op_flow( match BinOpKind::from_token(token) { Ok(op) => op,