aboutsummaryrefslogtreecommitdiffstats
path: root/src/n3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/n3.c')
-rw-r--r--src/n3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/n3.c b/src/n3.c
index 5940c010..6813bccc 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -114,7 +114,7 @@ read_STRING_LITERAL_LONG(SerdReader* const reader,
eat_byte_safe(reader, q3);
break;
}
- ref->flags |= SERD_HAS_QUOTE;
+
if (!(st = push_byte(reader, ref, c))) {
st = read_character(reader, ref, (uint8_t)q2);
}
@@ -151,7 +151,10 @@ read_String(SerdReader* const reader, SerdNode* const node)
return SERD_SUCCESS;
}
+ // Long string
eat_byte_safe(reader, q3);
+ node->flags |= SERD_IS_LONG;
+
return read_STRING_LITERAL_LONG(reader, node, (uint8_t)q1);
}