xo-parser: parserstatemachine -> consolidate on_typedescr() args
This commit is contained in:
parent
dbd2f69533
commit
370722b086
13 changed files with 20 additions and 31 deletions
|
|
@ -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()));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue