Store a mapping to ensure no two symbols map to the same metadata

This commit is contained in:
Max Brunsfeld 2019-12-05 17:21:46 -08:00
parent d6c7b243a7
commit 56c620c005
7 changed files with 128 additions and 33 deletions

View file

@ -118,6 +118,7 @@ struct TSLanguage {
uint32_t large_state_count;
const uint16_t *small_parse_table;
const uint32_t *small_parse_table_map;
const TSSymbol *public_symbol_map;
};
/*