diff options
-rw-r--r-- | src/n3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1599,7 +1599,7 @@ read_n3_statement(SerdReader* reader) return SERD_SUCCESS; } - if (ate_dot) { + if (ate_dot && (reader->strict || (s_type != '('))) { return r_err( reader, SERD_ERR_BAD_SYNTAX, "unexpected end of statement\n"); } |