xo-reader: work on apply expression parsing

This commit is contained in:
Roland Conybeare 2025-07-24 07:50:34 -05:00
commit 190a21e2f7
4 changed files with 16 additions and 3 deletions

View file

@ -107,6 +107,7 @@ namespace xo {
if (this->applyxs_type_ == applyexprstatetype::apply_3) {
this->applyxs_type_ = applyexprstatetype::apply_2;
expect_expr_xs::start(p_psm);
} else {
constexpr const char * c_self_name = "apply_xs::on_comma_token";
const char * exp = this->get_expect_str();
@ -125,6 +126,7 @@ namespace xo {
if (this->applyxs_type_ == applyexprstatetype::apply_1) {
this->applyxs_type_ = applyexprstatetype::apply_2;
expect_expr_xs::start(p_psm);
} else {
constexpr const char * c_self_name = "apply_xs::on_leftparen_token";
const char * exp = this->get_expect_str();