xo-reader: refactor: simplify progress_xs api
This commit is contained in:
parent
5916ac874f
commit
6d73caf308
4 changed files with 23 additions and 6 deletions
|
|
@ -183,7 +183,7 @@ namespace xo {
|
|||
switch (this->parenxs_type_) {
|
||||
case parenexprstatetype::lparen_0: {
|
||||
this->parenxs_type_ = parenexprstatetype::lparen_1; /* wants on_rightparen */
|
||||
p_stack->push_exprstate(progress_xs::make(expr.promote()));
|
||||
progress_xs::start(expr.promote(), p_stack);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue