xo-reader2: + on_i64_token in all Ssm classes.

This commit is contained in:
Roland Conybeare 2026-01-23 16:45:15 -05:00
commit 8c6f504224
32 changed files with 166 additions and 1 deletions

View file

@ -187,6 +187,10 @@ namespace xo {
this->on_f64_token(tk);
break;
case tokentype::tk_i64:
this->on_i64_token(tk);
break;
case tokentype::tk_bool:
this->on_bool_token(tk);
break;
@ -197,7 +201,6 @@ namespace xo {
// all the not-yet handled cases
case tokentype::tk_invalid:
case tokentype::tk_i64:
case tokentype::tk_string:
case tokentype::tk_leftparen:
case tokentype::tk_rightparen:
@ -283,6 +286,14 @@ namespace xo {
stack_->top().on_f64_token(tk, this);
}
void
ParserStateMachine::on_i64_token(const Token & tk)
{
scope log(XO_DEBUG(debug_flag_), xtag("tk", tk));
stack_->top().on_i64_token(tk, this);
}
void
ParserStateMachine::on_bool_token(const Token & tk)
{