fix(lexer): and is now detected properly

This commit is contained in:
Matteo Flebus 2026-01-30 20:18:10 +01:00
parent 3fb5d71d66
commit 4870caa459

View file

@ -298,7 +298,7 @@ ssize_t len_op_sepchar(char *stream, ssize_t i)
return 2; return 2;
// AND // AND
if (stream[i] == '|' && stream[i + 1] == '|') if (stream[i] == '&' && stream[i + 1] == '&')
return 2; return 2;
// special chars // special chars