Filter ignore from getTokens()

This commit is contained in:
Thomas Avé 2017-01-27 16:29:32 +01:00
parent 3f18453312
commit f9da651925
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ namespace input {
auto lines = parseInput(is);
std::set<std::string> tokens;
for(auto line: lines) {
tokens.insert(line.second.first);
if(line.second.first != "ignore")
tokens.insert(line.second.first);
}
return tokens;
}