Fix ParseStateId / size_t confusion in parse table

This commit is contained in:
Max Brunsfeld 2014-07-07 13:21:30 -07:00
parent c5c25d30bb
commit f4287c07d0
3 changed files with 12 additions and 12 deletions

View file

@ -92,7 +92,7 @@ namespace tree_sitter {
}
}
bool should_add_action(size_t state_id, const Symbol &symbol, const ParseAction &action) {
bool should_add_action(ParseStateId state_id, const Symbol &symbol, const ParseAction &action) {
auto current_actions = parse_table.states[state_id].actions;
auto current_action = current_actions.find(symbol);
return (