@@ -518,8 +518,8 @@ Update1
518
518
| 'INSERTDATA' QuadPattern -> { updateType: ' insert' , insert: $2 }
519
519
| 'DELETEDATA' QuadPattern -> { updateType: ' delete' , delete: $2 }
520
520
| 'DELETEWHERE' QuadPattern -> { updateType: ' deletewhere' , delete: $2 }
521
- | WithClause? InsertClause DeleteClause? UsingClause* 'WHERE' GroupGraphPattern -> extend ({ updateType: ' insertdelete' }, $1 , { insert: $2 || [] }, { delete: $3 || [] }, groupDatasets ($4 ), { where: $6 .patterns })
522
- | WithClause? DeleteClause InsertClause? UsingClause* 'WHERE' GroupGraphPattern -> extend ({ updateType: ' insertdelete' }, $1 , { delete: $2 || [] }, { insert: $3 || [] }, groupDatasets ($4 ), { where: $6 .patterns })
521
+ | WithClause? InsertClause DeleteClause? UsingClause* 'WHERE' GroupGraphPattern -> extend ({ updateType: ' insertdelete' }, $1 , { insert: $2 || [] }, { delete: $3 || [] }, groupDatasets ($4 ), { where: $6 .patterns })
522
+ | WithClause? DeleteClause InsertClause? UsingClause* 'WHERE' GroupGraphPattern -> extend ({ updateType: ' insertdelete' }, $1 , { delete: $2 || [] }, { insert: $3 || [] }, groupDatasets ($4 ), { where: $6 .patterns })
523
523
;
524
524
DeleteClause
525
525
: 'DELETE' QuadPattern -> $2
@@ -550,7 +550,7 @@ QuadPattern
550
550
QuadsNotTriples
551
551
: 'GRAPH' (VAR | iri) '{' TriplesTemplate? '}' '.' ? TriplesTemplate?
552
552
{
553
- var graph = extend ($4 || { triples: [] }, { type: ' graph' , name: toVar ($2 ) });
553
+ var graph = extend ($4 || { triples: [] }, { type: ' graph' , name: toVar ($2 ) });
554
554
$$ = $7 ? [graph, $7 ] : [graph];
555
555
}
556
556
;
0 commit comments