Fix bogus assert

This commit is contained in:
2025-05-17 17:54:37 -04:00
parent 01ffe4e15d
commit 6cb7645675

View File

@@ -182,8 +182,7 @@ private:
} }
static Status keepGoing(Parser2 *self) { static Status keepGoing(Parser2 *self) {
assert(!self->complete); if (self->len() == 0 && !self->complete) {
if (self->len() == 0) {
return S_AGAIN; return S_AGAIN;
} }
// self->debugPrint(); // self->debugPrint();