xo-reader: dispatch comm token -> exprstate.on_comma_token()

This commit is contained in:
Roland Conybeare 2024-08-16 22:17:39 -04:00
commit 8ed090c2e2

View file

@ -255,10 +255,13 @@ namespace xo {
case tokentype::tk_leftangle:
case tokentype::tk_rightangle:
case tokentype::tk_dot:
case tokentype::tk_comma:
assert(false);
return;
case tokentype::tk_comma:
this->on_comma_token(tk, p_stack, p_emit_expr);
return;
case tokentype::tk_colon:
this->on_colon_token(tk, p_stack);
return;