xo-reader: simplify: define_xs::start()

This commit is contained in:
Roland Conybeare 2024-08-19 15:59:42 -04:00
commit f5a309d611

View file

@ -17,9 +17,7 @@ namespace xo {
void
define_xs::start(parserstatemachine * p_psm)
{
auto p_stack = p_psm->p_stack_;
p_stack->push_exprstate(define_xs::make());
p_psm->push_exprstate(define_xs::make());
p_psm->top_exprstate().on_def_token(token_type::def(), p_psm);
}