Commit 4e53dd09 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Make this a release assert, since otherwise parse errors crash NDEBUG builds in weird ways

parent d20fb50d
......@@ -67,7 +67,7 @@ public:
uint8_t readByte() {
ensure(1);
assert(end > start && "premature eof");
RELEASE_ASSERT(end > start, "premature eof");
if (VERBOSITY("parsing") >= 2)
printf("readByte, now %d %d\n", start + 1, end);
return buf[start++];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment