Fix some inconsistencies in error cost calculation
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
parent
883a7c8266
commit
0faae52132
7 changed files with 135 additions and 79 deletions
|
|
@ -33,7 +33,7 @@ typedef struct TSTree {
|
|||
|
||||
TSSymbol symbol;
|
||||
TSStateId parse_state;
|
||||
size_t error_cost;
|
||||
unsigned error_cost;
|
||||
|
||||
struct {
|
||||
TSSymbol symbol;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue