xo-reader2: + on_f64_token() + handle in DDefineSsm+DProgressSsm

This commit is contained in:
Roland Conybeare 2026-01-22 15:18:35 -05:00
commit 5bd78b8f4e
62 changed files with 1680 additions and 25 deletions

View file

@ -163,11 +163,14 @@ namespace xo {
this->on_singleassign_token(tk);
break;
case tokentype::tk_f64:
this->on_f64_token(tk);
break;
// all the not-yet handled cases
case tokentype::tk_invalid:
case tokentype::tk_bool:
case tokentype::tk_i64:
case tokentype::tk_f64:
case tokentype::tk_string:
case tokentype::tk_leftparen:
case tokentype::tk_rightparen:
@ -246,6 +249,14 @@ namespace xo {
stack_->top().on_singleassign_token(tk, this);
}
void
ParserStateMachine::on_f64_token(const Token & tk)
{
scope log(XO_DEBUG(debug_flag_), xtag("tk", tk));
stack_->top().on_f64_token(tk, this);
}
void
ParserStateMachine::capture_error(std::string_view ssm_name,
const DString * errmsg)