aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c
index a1ff0d1c..da70e6db 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -649,7 +649,9 @@ read_longString(SerdReader* reader, SerdNodeFlags* flags)
{
eat_string(reader, "\"\"\"", 3);
Ref ref = push_node(reader, SERD_LITERAL, "", 0);
+#ifdef SERD_STACK_CHECK
assert(stack_is_top_node(reader, ref));
+#endif
SerdStatus st;
while (!(st = read_lcharacter(reader, ref, flags))) {}
if (st < SERD_ERR_UNKNOWN) {