From 96adc4bf77bb7ac39d882481eac5f71d6f228a1a Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 13 Oct 2023 20:05:45 -0400 Subject: [PATCH] Fix error message --- src/abstract_tree/logic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abstract_tree/logic.rs b/src/abstract_tree/logic.rs index 1f3c324..adedad4 100644 --- a/src/abstract_tree/logic.rs +++ b/src/abstract_tree/logic.rs @@ -26,7 +26,7 @@ impl AbstractTree for Logic { "<=" => LogicOperator::LessOrEqaul, _ => { return Err(Error::UnexpectedSyntaxNode { - expected: "==, && or ||", + expected: "==, && ||, >, <, >= or <=", actual: operator_node.kind(), location: operator_node.start_position(), relevant_source: source[operator_node.byte_range()].to_string(),