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

@ -97,7 +97,7 @@ namespace xo {
if (this->defxs_type_ == defexprstatetype::def_0) {
this->defxs_type_ = defexprstatetype::def_1;
expect_symbol_xs::start(p_psm->p_stack_);
expect_symbol_xs::start(p_psm);
} else {
exprstate::on_def_token(tk, p_psm);
}