Fix bogus assert

This commit is contained in:
andrew committed 2025-05-17 17:54:37 -04:00
1 parent 01ffe4e15d
commit 6cb7645675
1 file changed
+1 -2
+1 -2
View File
@@ -182,8 +182,7 @@ private:
}
static Status keepGoing(Parser2 *self) {
assert(!self->complete);
if (self->len() == 0) {
if (self->len() == 0 && !self->complete) {
return S_AGAIN;
}
// self->debugPrint();