Skip to content

Commit

Permalink
Update PlSqlLexerBase.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
kaby76 committed Dec 20, 2024
1 parent c8519f0 commit 6422d8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/plsql/Dart/PlSqlLexerBase.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ abstract class PlSqlLexerBase extends Lexer
bool IsNewlineAtPos(int pos)
{
int la = inputStream.LA(pos)!;
return la == -1 || la == '\n';
if (la == -1) return true;
return '\n' == String.fromCharCode(inputStream.LA(pos)!);
}
}

0 comments on commit 6422d8d

Please sign in to comment.