Skip to content

Commit 2f0f57d

Browse files
jeswrRubenVerborgh
andauthored
chore: describe quoted triple predicate parsing
Co-authored-by: Ruben Verborgh <ruben@verborgh.org>
1 parent 56cc184 commit 2f0f57d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/N3Parser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,7 @@ export default class N3Parser {
909909
this._emit(this._subject, this._predicate, this._object, this._graph);
910910
}
911911

912+
// If the quoted triple is not finished, the next token must be a predicate
912913
if (token.type !== '|}')
913914
return this._readPredicate;
914915
this._restoreContext('{|', token);

0 commit comments

Comments
 (0)