xo-reader2: + on_i64_token in all Ssm classes.
This commit is contained in:
parent
b7a813ec07
commit
e7930122a7
32 changed files with 166 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue