Balance repetition trees after parsing
This commit is contained in:
parent
8c29841adf
commit
299a146b66
4 changed files with 84 additions and 9 deletions
|
|
@ -50,6 +50,7 @@ typedef struct Tree {
|
|||
TSSymbol symbol;
|
||||
TSStateId parse_state;
|
||||
unsigned error_cost;
|
||||
unsigned repeat_depth;
|
||||
|
||||
struct {
|
||||
TSSymbol symbol;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue