Regex: remove dead code

This commit is contained in:
Maxime Coste 2017-10-23 16:25:06 +08:00
parent 2c2073b417
commit f07375fb27

View File

@ -712,8 +712,6 @@ private:
} }
case ParsedRegex::Alternation: case ParsedRegex::Alternation:
{ {
//kak_assert(children.size() > 1);
auto split_pos = m_program.instructions.size(); auto split_pos = m_program.instructions.size();
for_each_child(m_parsed_regex, index, [this, index](ParsedRegex::NodeIndex child) { for_each_child(m_parsed_regex, index, [this, index](ParsedRegex::NodeIndex child) {
if (child != index+1) if (child != index+1)