Fix bogus assert
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user