Fix changes with master

This commit is contained in:
Raúl Marín 2022-10-14 15:43:06 +02:00
parent 1aa6266c56
commit 96a1cb4a79

View File

@ -38,11 +38,8 @@ struct Expected
return;
}
if (current_pos == max_parsed_pos)
{
if ((current_pos == max_parsed_pos) && (std::find(variants.begin(), variants.end(), description) == variants.end()))
variants.push_back(description);
}
if ((current_pos == max_parsed_pos) && (std::find(variants.begin(), variants.end(), description) == variants.end()))
variants.push_back(description);
}
ALWAYS_INLINE void add(TokenIterator it, const char * description)