forked from AbleScript/ablescript
Added logical operators
This commit is contained in:
parent
927ad5e955
commit
f0cd6cd0ad
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue