diff options
author | David Robillard <d@drobilla.net> | 2018-05-25 21:59:11 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-05-25 22:00:19 +0200 |
commit | 85dd5c18ff8b78fbd73062498bad563e76c22645 (patch) | |
tree | aa8524c83fbf1b0c02f329f93352ac9bc3d9e301 /src | |
parent | 0179f024aafea7f49a5abb459fa12a4ab2495b99 (diff) | |
download | serd-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')
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |