diff options
author | David Robillard <d@drobilla.net> | 2013-01-22 05:07:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-22 05:07:11 +0000 |
commit | 48c2c0f44d12e530261d202662f00b676c826fc1 (patch) | |
tree | 77ccf2a34e692b9beb8116100f75f3028b8b21b0 /src/sratom.c | |
parent | 1e195032cdc8e8f4f81713941b287749e2d8619d (diff) | |
download | sratom-48c2c0f44d12e530261d202662f00b676c826fc1.tar.gz sratom-48c2c0f44d12e530261d202662f00b676c826fc1.tar.bz2 sratom-48c2c0f44d12e530261d202662f00b676c826fc1.zip |
Fix serialisation of nested tuples.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@5004 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/sratom.c')
-rw-r--r-- | src/sratom.c | 4 |
1 files changed, 4 insertions, 0 deletions
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"); |