forked from weaselab/weaseljson
Don't need to pop in reject
This commit is contained in:
1 parent
496fb229ec
commit
052e452669
1 file changed
+1
-4
+1
-4
@@ -517,10 +517,7 @@ private:
|
|||||||
MUSTTAIL return table[top][token](self);
|
MUSTTAIL return table[top][token](self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool reject(Parser2 *self) {
|
static bool reject(Parser2 *) { return false; }
|
||||||
self->pop();
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
static bool object(Parser2 *self) {
|
static bool object(Parser2 *self) {
|
||||||
self->pop();
|
self->pop();
|
||||||
self->callbacks->on_begin_object(self->data);
|
self->callbacks->on_begin_object(self->data);
|
||||||
|
|||||||
Reference in new issue
Block a user