Avoid creating redundant rename sequences

This commit is contained in:
Max Brunsfeld 2017-07-18 14:45:10 -07:00
parent afb499bf2e
commit 4649c3a37f
3 changed files with 9 additions and 6 deletions

View file

@ -83,6 +83,7 @@ struct ParseTable {
std::vector<ParseState> states;
std::map<rules::Symbol, ParseTableSymbolMetadata> symbols;
std::vector<RenameSequence> rename_sequences;
unsigned max_rename_sequence_length = 0;
};
} // namespace tree_sitter