Non-terminal entries always have valid state-ids
@@ -154,7 +154,6 @@ void ParseState::each_referenced_state(function<void(ParseStateId *)> fn) {
if ((action.type == ParseActionTypeShift && !action.extra) || action.type == ParseActionTypeRecover)
fn(&action.state_index);
for (auto &entry : nonterminal_entries)
- if (entry.second != (ParseStateId)(-1))
fn(&entry.second);
}
