Remove unused tree state constant
This commit is contained in:
parent
8c26d99353
commit
d554fab5b5
3 changed files with 5 additions and 11 deletions
|
|
@ -500,7 +500,7 @@ static Reduction ts_parser__reduce(TSParser *self, StackVersion version,
|
|||
if (fragile || self->is_split || initial_version_count > 1) {
|
||||
parent->fragile_left = true;
|
||||
parent->fragile_right = true;
|
||||
parent->parse_state = TS_TREE_STATE_ERROR;
|
||||
parent->parse_state = TS_TREE_STATE_NONE;
|
||||
} else {
|
||||
parent->parse_state = state;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue