xo-parser: parserstatemachine -> consolidate on_typedescr() args

This commit is contained in:
Roland Conybeare 2024-08-19 11:51:45 -04:00
commit 370722b086
13 changed files with 20 additions and 31 deletions

View file

@ -83,14 +83,15 @@ namespace xo {
void
exprstate::on_typedescr(TypeDescr td,
exprstatestack * p_stack,
rp<Expression> * /*p_emit_expr*/)
parserstatemachine * p_psm)
{
/* returning type description to something that wants it */
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
auto p_stack = p_psm->p_stack_;
log && log(xtag("exstype",
p_stack->top_exprstate().exs_type()));