Git Query language is a SQL like language to perform queries on .git files with supports of most of SQL features such as grouping, ordering and aggregations functions
Incorrect comments in function of un_expected_expression_error
To Reproduce
// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/parser.rs#L2158
// `< =` the user may mean to write `<=`
if previous.kind == TokenKind::Greater && current.kind == TokenKind::Equal {
// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/parser.rs#L2166
// `> =` the user may mean to write `>=`
if previous.kind == TokenKind::Less && current.kind == TokenKind::Equal {
Expected behavior
// `> =` the user may mean to write `>=`
if previous.kind == TokenKind::Greater && current.kind == TokenKind::Equal {
// `< =` the user may mean to write `<=`
if previous.kind == TokenKind::Less && current.kind == TokenKind::Equal {
Describe the bug
Incorrect comments in function of un_expected_expression_error
To Reproduce
Expected behavior
GQL (please complete the following information):
Version 0.14.0
Screenshots
None