From 883c2677d944eb12ba349780ec6b295d1c8ada07 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 27 Jul 2024 17:37:29 -0500 Subject: [PATCH] cl-parser: Index is NOT a low precedence operator!!! --- compiler/cl-parser/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cl-parser/src/parser.rs b/compiler/cl-parser/src/parser.rs index 310e6b5..a054dd0 100644 --- a/compiler/cl-parser/src/parser.rs +++ b/compiler/cl-parser/src/parser.rs @@ -1218,13 +1218,13 @@ pub enum Precedence { Assign, Compare, Range, - Index, Logic, Bitwise, Shift, Factor, Term, Unary, + Index, Cast, Member, // left-associative Call,