xo-reader: parserstatemachine -> consolidate on_formal() args

This commit is contained in:
Roland Conybeare 2024-08-19 11:46:46 -04:00
commit dbd2f69533
5 changed files with 10 additions and 10 deletions

View file

@ -104,14 +104,15 @@ namespace xo {
void
exprstate::on_formal(const rp<Variable> & formal,
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()));