mirror of
https://github.com/HigherOrderCO/Kind1.git
synced 2024-09-11 08:45:32 +03:00
fix: bug with ampersand operator
This commit is contained in:
parent
ccba3b507c
commit
35f3f0000f
@ -40,7 +40,7 @@ impl<'a> Parser<'a> {
|
||||
Token::Star => Some(Operator::Mul),
|
||||
Token::Slash => Some(Operator::Div),
|
||||
Token::Percent => Some(Operator::Mod),
|
||||
Token::Ampersand => Some(Operator::Add),
|
||||
Token::Ampersand => Some(Operator::And),
|
||||
Token::Bar => Some(Operator::Or),
|
||||
Token::Hat => Some(Operator::Xor),
|
||||
Token::GreaterGreater => Some(Operator::Shr),
|
||||
|
Loading…
Reference in New Issue
Block a user