Skip to content

Commit

Permalink
add note to grammar about changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Qup42 committed Feb 18, 2025
1 parent a188e04 commit 06729a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/parser/sparqlParser/generated/SparqlAutomatic.g4
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ quads: triplesTemplate? ( quadsNotTriples '.'? triplesTemplate? )* ;

quadsNotTriples: GRAPH varOrIri '{' triplesTemplate? '}' ;

// triplesTemplate: triplesSameSubject ( '.' triplesTemplate? )?;
// We have replaced the original recursive definition with an equivalent
// non-recursive definition for performance reasons.
// Original definition: `triplesTemplate: triplesSameSubject ( '.' triplesTemplate? )?;`
triplesTemplate: triplesSameSubject ( '.' triplesSameSubject )* '.'? ;


Expand Down

0 comments on commit 06729a1

Please sign in to comment.