xo-reader: simplify paren handling for expressions
This commit is contained in:
parent
b8b9efd633
commit
6b9503ef76
4 changed files with 21 additions and 45 deletions
|
|
@ -19,6 +19,9 @@ namespace xo {
|
|||
|
||||
static std::unique_ptr<expect_expr_xs> expect_rhs_expression();
|
||||
|
||||
virtual void on_leftparen_token(const token_type & tk,
|
||||
exprstatestack * p_stack,
|
||||
rp<Expression> * p_emit_expr) override;
|
||||
virtual void on_f64_token(const token_type & tk,
|
||||
exprstatestack * p_stack,
|
||||
rp<Expression> * p_emit_expr) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue