From 48c2c0f44d12e530261d202662f00b676c826fc1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 Jan 2013 05:07:11 +0000 Subject: Fix serialisation of nested tuples. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5004 a436a847-0d15-0410-975c-d299462d15a1 --- src/sratom.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/sratom.c b/src/sratom.c index 7792b9c..bd778d8 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -186,7 +186,11 @@ start_object(Sratom* sratom, if (subject && predicate) { sratom->write_statement(sratom->handle, *flags|SERD_ANON_O_BEGIN, NULL, subject, predicate, node, NULL, NULL); + // Start abbreviating object properties *flags |= SERD_ANON_CONT; + + // Object is in a list, stop list abbreviating if necessary + *flags &= ~SERD_LIST_CONT; } if (type) { SerdNode p = serd_node_from_string(SERD_URI, NS_RDF "type"); -- cgit v1.2.1