xo-parser: pref: + exprstatestack arg to exprstate::on_symbol()
This commit is contained in:
parent
847f8744b3
commit
00eaa55cc9
2 changed files with 5 additions and 3 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue