summaryrefslogtreecommitdiff
path: root/include/parserutils
diff options
context:
space:
mode:
Diffstat (limited to 'include/parserutils')
-rw-r--r--include/parserutils/input/inputstream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parserutils/input/inputstream.h b/include/parserutils/input/inputstream.h
index 26f3353..7e811b4 100644
--- a/include/parserutils/input/inputstream.h
+++ b/include/parserutils/input/inputstream.h
@@ -85,7 +85,9 @@ static inline uintptr_t parserutils_inputstream_peek(
if (stream == NULL)
return PARSERUTILS_INPUTSTREAM_OOD;
+#ifndef NDEBUG
parserutils_buffer_randomise(stream->utf8);
+#endif
#define IS_ASCII(x) (((x) & 0x80) == 0)