Refactor construction of out-of-context states
This commit is contained in:
parent
e99a3925e0
commit
31f6b2e24a
7 changed files with 51 additions and 41 deletions
|
|
@ -102,8 +102,8 @@ class ParseTable {
|
|||
ParseAction action);
|
||||
|
||||
std::vector<ParseState> states;
|
||||
ParseState error_state;
|
||||
std::map<rules::Symbol, ParseTableSymbolMetadata> symbols;
|
||||
std::map<rules::Symbol, size_t> out_of_context_state_indices;
|
||||
};
|
||||
|
||||
} // namespace tree_sitter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue