xo-reader: refactor: simplify paren_xs api

This commit is contained in:
Roland Conybeare 2024-08-19 00:27:35 -04:00
commit 6a71f718bd
2 changed files with 5 additions and 3 deletions

View file

@ -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