Add missing initialization of parser's in_ambiguity state
This commit is contained in:
parent
52087de4f0
commit
dbc0c208f4
1 changed files with 1 additions and 0 deletions
|
|
@ -740,6 +740,7 @@ static void parser__start(Parser *self, TSInput input, Tree *previous_tree) {
|
|||
self->reusable_node = reusable_node_new(previous_tree);
|
||||
self->finished_tree = NULL;
|
||||
self->accept_count = 0;
|
||||
self->in_ambiguity = false;
|
||||
}
|
||||
|
||||
static void parser__accept(Parser *self, StackVersion version,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue