xo-reader: simplify progress_xs.start() using psm

This commit is contained in:
Roland Conybeare 2024-08-19 16:53:43 -04:00
commit 8db0bf11d0
4 changed files with 11 additions and 15 deletions

View file

@ -181,9 +181,7 @@ namespace xo {
switch (this->parenxs_type_) {
case parenexprstatetype::lparen_0: {
this->parenxs_type_ = parenexprstatetype::lparen_1; /* wants on_rightparen */
auto p_stack = p_psm->p_stack_;
progress_xs::start(expr.promote(), p_stack);
progress_xs::start(expr.promote(), p_psm);
return;
}