diff options
Diffstat (limited to 'include/parserutils/input/inputstream.h')
-rw-r--r-- | include/parserutils/input/inputstream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parserutils/input/inputstream.h b/include/parserutils/input/inputstream.h index db81eb0..26f3353 100644 --- a/include/parserutils/input/inputstream.h +++ b/include/parserutils/input/inputstream.h @@ -85,6 +85,8 @@ static inline uintptr_t parserutils_inputstream_peek( if (stream == NULL) return PARSERUTILS_INPUTSTREAM_OOD; + parserutils_buffer_randomise(stream->utf8); + #define IS_ASCII(x) (((x) & 0x80) == 0) if (stream->cursor + offset < stream->utf8->length) { |