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>2022-01-13 23:03:30 -0500
commit00af9fa4e0344b1ff642a7ccd63626f77521ea8a (patch)
treebce03b485b9e93c92ddd15b303465b6a93095a08 /src/n3.c
parent6f362db2fbfe1b02929673aa9b0529b4328fb195 (diff)
downloadserd-00af9fa4e0344b1ff642a7ccd63626f77521ea8a.tar.gz
serd-00af9fa4e0344b1ff642a7ccd63626f77521ea8a.tar.bz2
serd-00af9fa4e0344b1ff642a7ccd63626f77521ea8a.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 8e599458..c29908ae 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1696,8 +1696,9 @@ read_nquadsDoc(SerdReader* const 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