Remove duplicate set insert
This commit is contained in:
parent
076a27be4a
commit
4eece88e18
1 changed files with 0 additions and 1 deletions
|
|
@ -21,7 +21,6 @@ namespace tree_sitter {
|
|||
items_to_add.pop_back();
|
||||
auto insertion_result = result.insert(item);
|
||||
if (insertion_result.second) {
|
||||
result.insert(item);
|
||||
for (const auto &pair : follow_sets(item, grammar)) {
|
||||
const ISymbol &non_terminal = pair.first;
|
||||
const set<ISymbol> &terminals = pair.second;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue