xo-reader: parserstatemachine -> consolidate on_formal() args

This commit is contained in:
Roland Conybeare 2024-08-19 11:46:46 -04:00
commit dbd2f69533
5 changed files with 10 additions and 10 deletions

View file

@ -58,8 +58,7 @@ namespace xo {
virtual void on_leftparen_token(const token_type & tk,
parserstatemachine * p_psm) override;
virtual void on_formal(const rp<Variable> & formal,
exprstatestack * p_stack,
rp<Expression> * p_emit_expr) override;
parserstatemachine * p_psm) override;
virtual void on_comma_token(const token_type & tk,
parserstatemachine * p_psm) override;
virtual void on_rightparen_token(const token_type & tk,

View file

@ -110,8 +110,7 @@ namespace xo {
/** update exprstate when expecting a formal parameter **/
virtual void on_formal(const rp<Variable> & formal,
exprstatestack * p_stack,
rp<Expression> * p_emit_expr);
parserstatemachine * p_psm);
/** update expression when epecting a formal parameter list **/
virtual void on_formal_arglist(const std::vector<rp<Variable>> & argl,