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 edf773c7..d98a516c 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -878,7 +878,7 @@ read_BLANK_NODE_LABEL(SerdReader* reader, bool* ate_dot)
*ate_dot = true;
}
- if (reader->syntax == SERD_TURTLE) {
+ if (fancy_syntax(reader)) {
if (is_digit(n->buf[reader->bprefix_len + 1])) {
if ((n->buf[reader->bprefix_len]) == 'b') {
((char*)n->buf)[reader->bprefix_len] = 'B'; // Prevent clash