From 0f8b0824ac6873cc85a4169e6676c52a88ad0002 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 18 Sep 2024 00:57:44 -0500 Subject: [PATCH] cl-parser: Fix precedence of comparison operators --- compiler/cl-parser/src/parser/prec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cl-parser/src/parser/prec.rs b/compiler/cl-parser/src/parser/prec.rs index 138f10f..3024912 100644 --- a/compiler/cl-parser/src/parser/prec.rs +++ b/compiler/cl-parser/src/parser/prec.rs @@ -247,9 +247,9 @@ fn structor_body(p: &mut Parser, to: Path) -> PResult { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)] pub enum Precedence { Assign, + Logic, Compare, Range, - Logic, Bitwise, Shift, Factor,