aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-11-05 10:34:05 +0100
committerDavid Robillard <d@drobilla.net>2017-11-05 10:34:05 +0100
commit87b4a8e5ce44d1d04908e3e981d775fb1a91ea85 (patch)
treeb6a1ef724d77eb6e89fce9289a44419490b9a7b2 /src/reader.c
parent633741dd0994d671d5966163a140db4c89ef076b (diff)
downloadserd-87b4a8e5ce44d1d04908e3e981d775fb1a91ea85.tar.gz
serd-87b4a8e5ce44d1d04908e3e981d775fb1a91ea85.tar.bz2
serd-87b4a8e5ce44d1d04908e3e981d775fb1a91ea85.zip
Reset status when skipping lines for lax parsing
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index 30b308d0..2b7014eb 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -1680,7 +1680,7 @@ read_turtleTrigDoc(SerdReader* reader)
return 0;
}
skip_until(reader, '\n');
- reader->status = SERD_ERR_BAD_SYNTAX;
+ reader->status = SERD_SUCCESS;
}
}
return reader->status <= SERD_FAILURE;