xo-reader: bugfix: + missing exprstatetype.expect_formal
This commit is contained in:
parent
2f2a1d2e13
commit
67125d5c65
2 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue