xo-parser: pref: + exprstatestack arg to exprstate::on_symbol()

This commit is contained in:
Roland Conybeare 2024-08-01 10:43:33 +10:00
commit 00eaa55cc9
2 changed files with 5 additions and 3 deletions

View file

@ -313,7 +313,9 @@ namespace xo {
}
expraction
exprstate::on_symbol(const token_type & tk) {
exprstate::on_symbol(const token_type & tk,
exprstatestack * /*p_stack*/)
{
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
@ -488,7 +490,7 @@ namespace xo {
return expraction();
case tokentype::tk_symbol:
return this->on_symbol(tk);
return this->on_symbol(tk, p_stack);
case tokentype::tk_leftparen: