Don't need to pop in reject
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user