xo-reader2: in DExpectFormalArgSsm handle colon token

This commit is contained in:
Roland Conybeare 2026-01-29 10:35:13 -05:00
commit 3e27b8be1e
5 changed files with 43 additions and 30 deletions

View file

@ -622,8 +622,7 @@ namespace xo {
if (defstate_ == defexprstatetype::def_2) {
this->defstate_ = defexprstatetype::def_3;
DExpectTypeSsm::start(p_psm->parser_alloc(),
p_psm);
DExpectTypeSsm::start(p_psm);
return;
}