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

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