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 e713a828..4f7ddd47 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -1763,7 +1763,7 @@ read_nquads_statement(SerdReader* const reader)
// Terminating '.'
read_ws_star(reader);
- if (!eat_byte_check(reader, '.')) {
+ if (!ate_dot && !eat_byte_check(reader, '.')) {
return SERD_ERR_BAD_SYNTAX;
}
}