xo-reader: simplify expect_expr_xs,expect_lparen_xs using qsm
This commit is contained in:
parent
6dcc0d420e
commit
0b0c424b84
7 changed files with 14 additions and 18 deletions
|
|
@ -18,10 +18,10 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
paren_xs::start(exprstatestack * p_stack)
|
||||
paren_xs::start(parserstatemachine * p_psm)
|
||||
{
|
||||
p_stack->push_exprstate(paren_xs::make());
|
||||
expect_expr_xs::start(p_stack);
|
||||
p_psm->push_exprstate(paren_xs::make());
|
||||
expect_expr_xs::start(p_psm);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue