Fix order of operators

This commit is contained in:
Patrick Lühne 2020-04-19 23:05:12 +02:00
parent 395c029ca9
commit 04e2d61583
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -288,16 +288,6 @@ where
multispace0, multispace0,
alt alt
(( ((
map
(
tag(">"),
|_| crate::ComparisonOperator::Greater,
),
map
(
tag("<"),
|_| crate::ComparisonOperator::Less,
),
map map
( (
tag("<="), tag("<="),
@ -309,6 +299,16 @@ where
|_| crate::ComparisonOperator::GreaterOrEqual, |_| crate::ComparisonOperator::GreaterOrEqual,
), ),
map map
(
tag(">"),
|_| crate::ComparisonOperator::Greater,
),
map
(
tag("<"),
|_| crate::ComparisonOperator::Less,
),
map
( (
tag("!="), tag("!="),
|_| crate::ComparisonOperator::NotEqual, |_| crate::ComparisonOperator::NotEqual,