xo-reader: refactor: use parsestatemachine w/ on_symbol_token()

This commit is contained in:
Roland Conybeare 2024-08-19 01:03:18 -04:00
commit bda115037b
14 changed files with 30 additions and 31 deletions

View file

@ -65,8 +65,7 @@ namespace xo {
void
expect_expr_xs::on_symbol_token(const token_type & /*tk*/,
exprstatestack * /*p_stack*/,
rp<Expression> * /*p_emit_expr*/)
parserstatemachine * /*p_psm*/)
{
/* todo: treat symbol as variable name */