xo-reader2: + DExpectTypeSsm + extend DDefineSsm [WIP]

This commit is contained in:
Roland Conybeare 2026-01-21 01:24:17 -05:00
commit 7b62bd7f5c
13 changed files with 442 additions and 10 deletions

View file

@ -5,6 +5,7 @@
#include "DDefineSsm.hpp"
#include "DExpectSymbolSsm.hpp"
#include "DExpectTypeSsm.hpp"
#include "ssm/ISyntaxStateMachine_DDefineSsm.hpp"
#include "ssm/IPrintable_DDefineSsm.hpp"
#include <xo/expression2/detail/IPrintable_DDefineExpr.hpp>
@ -505,7 +506,9 @@ namespace xo {
if (defstate_ == defexprstatetype::def_2) {
this->defstate_ = defexprstatetype::def_3;
// expect_type_xs::start(p_psm);
DExpectTypeSsm::start(p_psm->parser_alloc(),
p_psm);
return;
}