diff options
-rw-r--r-- | src/n3.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1324,11 +1324,10 @@ read_directive(SerdReader* reader) switch (peek_byte(reader)) { case 'B': case 'b': return read_base(reader, sparql, true); case 'P': case 'p': return read_prefixID(reader, sparql, true); - default: - return r_err(reader, SERD_ERR_BAD_SYNTAX, "invalid directive\n"); + default: break; } - return true; + return r_err(reader, SERD_ERR_BAD_SYNTAX, "invalid directive\n"); } static bool |