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

@ -93,8 +93,9 @@ namespace xo {
}
void
progress_xs::on_semicolon(exprstatestack * p_stack,
rp<Expression> * p_emit_expr)
progress_xs::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));
@ -121,7 +122,7 @@ namespace xo {
* f. now deliver semicolon; [lparen_1] rejects
*/
p_stack->top_exprstate().on_semicolon(p_stack, p_emit_expr);
p_stack->top_exprstate().on_semicolon_token(tk, p_stack, p_emit_expr);
}
void