Convert keywords back to word token at runtime if needed

This commit is contained in:
Max Brunsfeld 2018-06-15 12:25:17 -07:00
parent 0dd41f0d74
commit 4b5dab2d18
3 changed files with 38 additions and 10 deletions

View file

@ -45,6 +45,7 @@ struct Subtree {
bool has_changes : 1;
bool has_external_tokens : 1;
bool is_missing : 1;
bool is_keyword : 1;
TSSymbol symbol;
TSStateId parse_state;
struct {