xo-reader: bugfix: + missing exprstatetype.expect_formal

This commit is contained in:
Roland Conybeare 2024-08-18 11:04:34 -04:00
commit 67125d5c65
2 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,10 @@ namespace xo {
expect_rhs_expression,
expect_symbol,
expect_type,
/** handle formal argument
* see @ref expec_formal_xs
**/
expect_formal,
/** handle expression-in-progress,
* in case infix operators to follow

View file

@ -37,6 +37,8 @@ namespace xo {
return "expect_symbol";
case exprstatetype::expect_type:
return "expect_type";
case exprstatetype::expect_formal:
return "expect_formal";
case exprstatetype::expr_progress:
return "expr_progress";
case exprstatetype::n_exprstatetype: