Don't need to pop in reject

This commit is contained in:
2025-05-13 12:30:43 -04:00
parent 496fb229ec
commit 052e452669

View File

@@ -517,10 +517,7 @@ private:
MUSTTAIL return table[top][token](self);
}
static bool reject(Parser2 *self) {
self->pop();
return false;
}
static bool reject(Parser2 *) { return false; }
static bool object(Parser2 *self) {
self->pop();
self->callbacks->on_begin_object(self->data);