Skip to content

Commit

Permalink
Update src/N3Lexer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Jun 23, 2023
1 parent 436508f commit 37165da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/N3Lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ export default class N3Lexer {
if (!this._lineMode) {
matchLength = 1;
type = firstChar;
break;
}
break;
case '{':
// We need at least 2 tokens lookahead to distinguish "{|" and "{ "
if (!this._lineMode && input.length >= 2) {
Expand Down

0 comments on commit 37165da

Please sign in to comment.