aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
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 373edbe2..46fe281b 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1652,7 +1652,7 @@ read_n3_statement(SerdReader* const 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");
}