fix(lexer): and is now detected properly
This commit is contained in:
parent
3fb5d71d66
commit
4870caa459
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ ssize_t len_op_sepchar(char *stream, ssize_t i)
|
|||
return 2;
|
||||
|
||||
// AND
|
||||
if (stream[i] == '|' && stream[i + 1] == '|')
|
||||
if (stream[i] == '&' && stream[i + 1] == '&')
|
||||
return 2;
|
||||
|
||||
// special chars
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue