diff options
author | David Robillard <d@drobilla.net> | 2018-11-25 16:00:09 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:47 +0100 |
commit | 065a062cd210ce9a86e57d6e751ea591dd984147 (patch) | |
tree | 0996e1a7c4c0a29c90a3cdf609fed835368246da | |
parent | 904ef9ccffbc86f5514e028732737a48a149bd59 (diff) | |
download | serd-065a062cd210ce9a86e57d6e751ea591dd984147.tar.gz serd-065a062cd210ce9a86e57d6e751ea591dd984147.tar.bz2 serd-065a062cd210ce9a86e57d6e751ea591dd984147.zip |
Make reader return failure when no statement is read
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1418,7 +1418,7 @@ read_n3_statement(SerdReader* reader) switch (peek_byte(reader)) { case '\0': reader->source.eof = true; - return reader->status; + return SERD_FAILURE; case '@': if (!fancy_syntax(reader)) { return r_err(reader, SERD_ERR_BAD_SYNTAX, |