Skip to content

Commit

Permalink
Update src/N3Lexer.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
  • Loading branch information
jeswr and RubenVerborgh committed Jun 22, 2023
1 parent 97b09a2 commit 039dcbf
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 @@ -323,7 +323,7 @@ export default class N3Lexer {
}
break;
case '|':
// We need at least 2 tokens lookahead to distinguish "|}" and "|"
// We need 2 tokens lookahead to parse "|}"
if (input.length < 2)
break;
// Try to find a quoted triple annotation end
Expand Down

0 comments on commit 039dcbf

Please sign in to comment.