xo-reader2: support 0-argument apply-expressions

This commit is contained in:
Roland Conybeare 2026-02-28 13:21:54 +11:00
commit 6795c1bc15
7 changed files with 138 additions and 77 deletions

View file

@ -29,9 +29,9 @@ namespace xo {
/* want to accept anything that starts an expression,
* except that rightbrace '}' ends it
*/
DExpectExprSsm::start(p_psm->parser_alloc(),
true /*allow_defs*/,
DExpectExprSsm::start(true /*allow_defs*/,
true /*cxl_on_rightbrace*/,
false /*!cxl_on_rightparen*/,
p_psm);
}