xo-reader: refactor: simplify expect_expr_xs api
This commit is contained in:
parent
2b6b15480e
commit
9a42f02f0c
5 changed files with 15 additions and 9 deletions
|
|
@ -37,7 +37,7 @@ namespace xo {
|
|||
if (lmxs_type_ == lambdastatetype::lm_1) {
|
||||
this->lmxs_type_ = lambdastatetype::lm_2;
|
||||
this->argl_ = argl;
|
||||
p_stack->push_exprstate(expect_expr_xs::expect_rhs_expression());
|
||||
expect_expr_xs::start(p_stack);
|
||||
} else {
|
||||
exprstate::on_formal_arglist(argl, p_stack, p_emit_expr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue