aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-16 12:42:58 +0200
committerDavid Robillard <d@drobilla.net>2021-03-07 15:32:24 -0500
commit9a8e06aa5bdc62ed589bd8ed5789bd059cec0700 (patch)
treeba5263262fad84c5f58bd60f3c6f6fcba30d6516 /src/n3.c
parentd4ae57afbd7da668dbf89f7b7e66e2f064437a98 (diff)
downloadserd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.tar.gz
serd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.tar.bz2
serd-9a8e06aa5bdc62ed589bd8ed5789bd059cec0700.zip
Simplify reader interface
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index fe6da47f..4ea6adbe 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1683,8 +1683,9 @@ read_nquadsDoc(SerdReader* reader)
}
if (peek_byte(reader) == '@') {
- return r_err(
+ r_err(
reader, SERD_ERR_BAD_SYNTAX, "syntax does not support directives\n");
+ return SERD_ERR_BAD_SYNTAX;
}
// subject predicate object