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