aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-10 13:21:51 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit9a3c3f9cd9c664cbe9a9b397761192b9a744975e (patch)
treea73b663889dd50e5d275f475713c10d99da49bf8 /src/n3.c
parentc8e1af98cab4726124a0c9ee7afbbe63fc8fc6f9 (diff)
downloadserd-9a3c3f9cd9c664cbe9a9b397761192b9a744975e.tar.gz
serd-9a3c3f9cd9c664cbe9a9b397761192b9a744975e.tar.bz2
serd-9a3c3f9cd9c664cbe9a9b397761192b9a744975e.zip
Add option for writing terse output without newlines
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index 356e139b..68ca8b62 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1046,7 +1046,7 @@ read_object(SerdReader* reader, ReadContext* ctx, bool emit, bool* ate_dot)
if (!emit) {
ctx->object = o;
- } else if (!ret && emit && simple && o) {
+ } else if (!ret && simple && o) {
ret = emit_statement(reader, *ctx, o);
serd_stack_pop_to(&reader->stack, orig_stack_size);
}