From 1a095b4e8ab0050d792e5bf6b72bf10a4207b1dc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Mar 2012 03:40:32 +0000 Subject: Don't emit a ; at the end of anonymous descriptions. git-svn-id: http://svn.drobilla.net/serd/trunk@339 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/writer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/writer.c b/src/writer.c index 0870c785..b6dcecc1 100644 --- a/src/writer.c +++ b/src/writer.c @@ -66,7 +66,7 @@ static const SepRule rules[] = { { NULL, 0, 0, 1, 0 }, { " ", 1, 0, 0, 0 }, { "[", 1, 0, 1, 1 }, - { "]", 1, 0, 0, 0 }, + { "]", 1, 1, 0, 0 }, { "(", 1, 0, 0, 0 }, { NULL, 1, 0, 1, 0 }, { ")", 1, 1, 0, 0 }, @@ -595,7 +595,6 @@ serd_writer_end_anon(SerdWriter* writer, } assert(writer->indent > 0); --writer->indent; - write_sep(writer, SEP_END_P); write_sep(writer, SEP_ANON_END); reset_context(writer, true); writer->context = *anon_stack_top(writer); -- cgit v1.2.1