From 9d6b72e9c44cef91230fcc2a1a58669e56bb9ec6 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 6 Mar 2023 21:50:52 +0100 Subject: [PATCH] Sparql smith: Fixes PropertyListPath generation --- lib/sparql-smith/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sparql-smith/src/lib.rs b/lib/sparql-smith/src/lib.rs index 4a288a50..6b554ec7 100644 --- a/lib/sparql-smith/src/lib.rs +++ b/lib/sparql-smith/src/lib.rs @@ -845,7 +845,7 @@ impl fmt::Display for PropertyListPath { #[derive(Arbitrary)] struct PropertyListPathNotEmpty { - // [83] PropertyListPathNotEmpty ::= ( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectList )? )* + // [83] PropertyListPathNotEmpty ::= ( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectListPath )? )* start_predicate: PropertyListPathNotEmptyVerb, start_object: Box, others: Vec>, @@ -860,7 +860,7 @@ enum PropertyListPathNotEmptyVerb { #[derive(Arbitrary)] struct PropertyListPathElement { predicate: PropertyListPathNotEmptyVerb, - object: ObjectList, + object: ObjectListPath, } impl fmt::Display for PropertyListPathNotEmpty {