Skip to content

Commit

Permalink
Added missing operator parse
Browse files Browse the repository at this point in the history
  • Loading branch information
maccasoft committed Dec 16, 2023
1 parent 98a923d commit 109c9ac
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,14 @@ else if ((token.stop - token.start) == 2) {
column++;
}
}
if (Character.toUpperCase(text.charAt(token.start + 1)) == 'B') {
if (Character.toUpperCase(text.charAt(token.start + 2)) == 'S') {
token.stop++;
token.type = Token.OPERATOR;
index++;
column++;
}
}
}
if (Character.toUpperCase(text.charAt(token.start)) == 'X') {
if (Character.toUpperCase(text.charAt(token.start + 1)) == 'O') {
Expand Down

0 comments on commit 109c9ac

Please sign in to comment.