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:
Max Brunsfeld 2021-02-25 16:32:05 -08:00
parent 774ae5e3d5
commit c1639cc456
2 changed files with 20 additions and 27 deletions

View file

@ -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;
};
/*