xo-reader: refactor: simplify expect_formal_arglist_xs api
This commit is contained in:
parent
bd8f093a00
commit
5916ac874f
3 changed files with 11 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ namespace xo {
|
|||
{
|
||||
if (lmxs_type_ == lambdastatetype::lm_0) {
|
||||
this->lmxs_type_ = lambdastatetype::lm_1;
|
||||
p_stack->push_exprstate(expect_formal_arglist_xs::make());
|
||||
expect_formal_arglist_xs::start(p_stack);
|
||||
} else {
|
||||
exprstate::on_lambda_token(tk, p_stack, p_emit_expr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue