xo-reader: refactor: simplify paren_xs api
This commit is contained in:
parent
7767833afb
commit
6a71f718bd
2 changed files with 5 additions and 3 deletions
|
|
@ -57,8 +57,7 @@ namespace xo {
|
|||
//constexpr const char * self_name = "exprstate::on_leftparen";
|
||||
|
||||
/* push lparen_0 to remember to look for subsequent rightparen. */
|
||||
p_stack->push_exprstate(paren_xs::lparen_0());
|
||||
expect_expr_xs::start(p_stack);
|
||||
paren_xs::start(p_stack);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue