Closed craftslab closed 9 months ago
Describe the bug
Incorrect statement in function of consume_octal_number
To Reproduce
// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/tokenizer.rs#L811 while *pos < chars.len() && ((chars[*pos] >= '0' || chars[*pos] < '8') || chars[*pos] == '_') {
Expected behavior
while *pos < chars.len() && ((chars[*pos] >= '0' && chars[*pos] < '8') || chars[*pos] == '_') {
GQL (please complete the following information):
Version 0.14.0
Screenshots
None
Please check it @AmrDeveloper
Hello @craftslab,
Thank you for reporting with clear example and fix
Describe the bug
Incorrect statement in function of consume_octal_number
To Reproduce
Expected behavior
GQL (please complete the following information):
Version 0.14.0
Screenshots
None