Add production_id_count field to Language objects
I think this is the last additional field that's needed so that every array member of TSLanguage has a length that can be calculated at runtime.
This commit is contained in:
parent
774ae5e3d5
commit
c1639cc456
2 changed files with 20 additions and 27 deletions
|
|
@ -122,6 +122,7 @@ struct TSLanguage {
|
|||
const TSSymbol *public_symbol_map;
|
||||
const uint16_t *alias_map;
|
||||
uint32_t state_count;
|
||||
uint32_t production_id_count;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue