Skip to content

Commit

Permalink
Parse \[InvisibleSpace](\uF360) as ' ', \[InvisibleComma](\uF765) as ','
Browse files Browse the repository at this point in the history
  • Loading branch information
axkr committed Sep 21, 2023
1 parent 4621ae6 commit 711d264
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,11 @@ protected void getNextToken() throws SyntaxError {
getNextChar();
fToken = TT_EOF;

if ((fCurrentChar != '\t') && (fCurrentChar != '\r') && (fCurrentChar != ' ')) {
if ((fCurrentChar != '\t') //
&& (fCurrentChar != '\r') //
&& (fCurrentChar != ' ')//
&& (fCurrentChar != '\uF360') // \[InvisibleSpace]
) {
if (fCurrentChar == '\n') {
fRowCounter++;
fCurrentColumnStartPosition = fCurrentPosition;
Expand Down Expand Up @@ -733,6 +737,7 @@ protected void getNextToken() throws SyntaxError {
}
break;
case ',':
case '\uF765': // \[InvisibleComma]
fToken = TT_COMMA;
break;
case '_':
Expand Down

0 comments on commit 711d264

Please sign in to comment.