xo-reader: refactor: + expect_symbol_xs [wip]

This commit is contained in:
Roland Conybeare 2024-08-10 16:20:51 -05:00
commit be412cb5ae
6 changed files with 56 additions and 8 deletions

View file

@ -87,9 +87,6 @@ namespace xo {
return false;
case exprstatetype::expect_rhs_expression:
/* rhs-expressions (or expressions for that matter)
* may not begin with a colon
*/
case exprstatetype::expect_symbol:
case exprstatetype::expect_type:
return false;
@ -155,9 +152,6 @@ namespace xo {
return false;
case exprstatetype::expect_rhs_expression:
/* rhs-expressions (or expressions for that matter)
* may not begin with singleassign '='
*/
case exprstatetype::expect_symbol:
case exprstatetype::expect_type:
return false;