xo-parser: prep: + exprstatestack arg to exprstate::on_singleassign()

This commit is contained in:
Roland Conybeare 2024-08-01 10:45:52 +10:00
commit 59837c47f0
2 changed files with 3 additions and 3 deletions

View file

@ -415,7 +415,7 @@ namespace xo {
}
expraction
exprstate::on_singleassign() {
exprstate::on_singleassign(exprstatestack * /*p_stack*/) {
constexpr bool c_debug_flag = true;
scope log(XO_DEBUG(c_debug_flag));
@ -516,7 +516,7 @@ namespace xo {
return expraction();
case tokentype::tk_singleassign:
return this->on_singleassign();
return this->on_singleassign(p_stack);
case tokentype::tk_assign:
case tokentype::tk_yields: