aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-25 21:59:11 +0200
committerDavid Robillard <d@drobilla.net>2018-05-25 22:00:19 +0200
commit85dd5c18ff8b78fbd73062498bad563e76c22645 (patch)
treeaa8524c83fbf1b0c02f329f93352ac9bc3d9e301 /src/n3.c
parent0179f024aafea7f49a5abb459fa12a4ab2495b99 (diff)
downloadserd-85dd5c18ff8b78fbd73062498bad563e76c22645.tar.gz
serd-85dd5c18ff8b78fbd73062498bad563e76c22645.tar.bz2
serd-85dd5c18ff8b78fbd73062498bad563e76c22645.zip
Fix reported error when reading statements with only a blank node
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 fd00360b..bb8d4d9d 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1214,7 +1214,7 @@ read_triples(SerdReader* reader, ReadContext ctx, bool* ate_dot)
switch (peek_byte(reader)) {
case '.':
*ate_dot = eat_byte_safe(reader, '.');
- return r_err(reader, SERD_ERR_BAD_SYNTAX, "syntax error\n");
+ return false;
case '}':
return false;
}