Fix error message

This commit is contained in:
Jeff 2023-10-13 20:05:45 -04:00
parent 65bb2c9d84
commit 96adc4bf77

View File

@ -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(),