Fix missing return statement in lambda

This commit is contained in:
Patrick Scheibe 2020-04-10 20:56:02 +02:00
parent d2f2108fc5
commit 4abf5a5332

View File

@ -3138,6 +3138,8 @@ private:
case Loop::Type::oom: return oom(ope);
case Loop::Type::rep: // Regex-like repetition
return rep(ope, loop.range.first, loop.range.second);
default:
throw std::runtime_error("Unhandled enum constant");
}
}
};