Add --abi flag to generate command, generate version 13 by default

This commit is contained in:
Max Brunsfeld 2022-01-17 14:45:07 -08:00
parent aaf4572727
commit 516fd6f6de
7 changed files with 71 additions and 42 deletions

View file

@ -207,7 +207,7 @@ static inline bool ts_language_state_is_primary(
TSStateId state
) {
if (self->version >= 14) {
return state == self->ts_primary_state_ids[state];
return state == self->primary_state_ids[state];
} else {
return true;
}