xo-reader: simplify expect_formal_xs, expect_symbol_xs

This commit is contained in:
Roland Conybeare 2024-08-19 16:42:52 -04:00
commit 96c0bea2f5
6 changed files with 10 additions and 14 deletions

View file

@ -38,10 +38,10 @@ namespace xo {
}
void
expect_formal_xs::start(exprstatestack * p_stack) {
p_stack->push_exprstate(expect_formal_xs::make());
expect_formal_xs::start(parserstatemachine * p_psm) {
p_psm->push_exprstate(expect_formal_xs::make());
expect_symbol_xs::start(p_stack);
expect_symbol_xs::start(p_psm);
}
expect_formal_xs::expect_formal_xs()