xo-reader: parserstatemachine -> consolidate on_formal() args
This commit is contained in:
parent
29932f9a3d
commit
dbd2f69533
5 changed files with 10 additions and 10 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue