xo-reader2: + on_f64_token() + handle in DDefineSsm+DProgressSsm
This commit is contained in:
parent
55149f0890
commit
d30412779c
44 changed files with 1638 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue