Filter ignore from getTokens()
This commit is contained in:
parent
3f18453312
commit
f9da651925
|
@ -18,7 +18,8 @@ namespace input {
|
||||||
auto lines = parseInput(is);
|
auto lines = parseInput(is);
|
||||||
std::set<std::string> tokens;
|
std::set<std::string> tokens;
|
||||||
for(auto line: lines) {
|
for(auto line: lines) {
|
||||||
tokens.insert(line.second.first);
|
if(line.second.first != "ignore")
|
||||||
|
tokens.insert(line.second.first);
|
||||||
}
|
}
|
||||||
return tokens;
|
return tokens;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue