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
|
|
@ -174,7 +174,7 @@ namespace xo {
|
|||
{
|
||||
this->defxs_type_ = defexprstatetype::def_5;
|
||||
|
||||
p_stack->push_exprstate(expect_expr_xs::expect_rhs_expression());
|
||||
expect_expr_xs::start(p_stack);
|
||||
} else {
|
||||
this->illegal_input_error(self_name, tk);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue