feat(lib): add the language name

This commit is contained in:
ObserverOfTime 2024-03-17 10:53:06 +02:00 committed by Amaan Qureshi
parent 42dd32d184
commit c5ee0ac070
5 changed files with 17 additions and 0 deletions

View file

@ -129,6 +129,7 @@ struct TSLanguage {
void (*deserialize)(void *, const char *, unsigned);
} external_scanner;
const TSStateId *primary_state_ids;
const char *name;
};
static inline bool set_contains(TSCharacterRange *ranges, uint32_t len, int32_t lookahead) {