xo-reader: rename+: exprstate.on_semicolon() -> on_semicolon_token()

This commit is contained in:
Roland Conybeare 2024-08-09 13:16:52 -04:00
commit 544c1def4a
8 changed files with 27 additions and 18 deletions

View file

@ -524,8 +524,9 @@ namespace xo {
}
void
exprstate::on_semicolon(exprstatestack * /*p_stack*/,
rp<Expression> * /*p_emit_expr*/)
exprstate::on_semicolon_token(const token_type & /*tk*/,
exprstatestack * /*p_stack*/,
rp<Expression> * /*p_emit_expr*/)
{
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
@ -696,7 +697,7 @@ namespace xo {
return;
case tokentype::tk_semicolon:
this->on_semicolon(p_stack, p_emit_expr);
this->on_semicolon_token(tk, p_stack, p_emit_expr);
return;
case tokentype::tk_singleassign: