xo-reader: rename+: exprstate.on_singleassign() + explicit token

This commit is contained in:
Roland Conybeare 2024-08-09 13:21:18 -04:00
commit 2cff2b5ca7
8 changed files with 19 additions and 9 deletions

View file

@ -544,7 +544,8 @@ namespace xo {
}
void
exprstate::on_singleassign(exprstatestack * /*p_stack*/) {
exprstate::on_singleassign_token(const token_type & /*tk*/,
exprstatestack * /*p_stack*/) {
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
@ -701,7 +702,7 @@ namespace xo {
return;
case tokentype::tk_singleassign:
this->on_singleassign(p_stack);
this->on_singleassign_token(tk, p_stack);
return;
case tokentype::tk_assign: