Remove extra EOF actions in lexer

This commit is contained in:
Max Brunsfeld 2014-04-04 08:44:35 -07:00
parent 32e94081fa
commit 129d2b9314
7 changed files with 1045 additions and 1153 deletions

View file

@ -58,7 +58,7 @@ namespace tree_sitter {
set<Symbol> ParseState::expected_inputs() const {
set<Symbol> result;
for (auto pair : actions)
for (auto &pair : actions)
result.insert(pair.first);
return result;
}