xo-reader: prefer xo::bp spelling to xo::ref::brw
This commit is contained in:
parent
f9b7ab307a
commit
53b6adeef1
26 changed files with 152 additions and 47 deletions
|
|
@ -15,6 +15,11 @@ namespace xo {
|
|||
return p_env_stack_->lookup(x);
|
||||
}
|
||||
|
||||
void
|
||||
parserstatemachine::upsert_var(bp<Variable> x) {
|
||||
p_env_stack_->upsert(x);
|
||||
}
|
||||
|
||||
std::unique_ptr<exprstate>
|
||||
parserstatemachine::pop_exprstate() {
|
||||
return p_stack_->pop_exprstate();
|
||||
|
|
@ -49,7 +54,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
parserstatemachine::on_expr(ref::brw<Expression> x)
|
||||
parserstatemachine::on_expr(bp<Expression> x)
|
||||
{
|
||||
constexpr bool c_debug_flag = true;
|
||||
scope log(XO_DEBUG(c_debug_flag));
|
||||
|
|
@ -62,7 +67,7 @@ namespace xo {
|
|||
}
|
||||
|
||||
void
|
||||
parserstatemachine::on_expr_with_semicolon(ref::brw<Expression> x)
|
||||
parserstatemachine::on_expr_with_semicolon(bp<Expression> x)
|
||||
{
|
||||
constexpr bool c_debug_flag = true;
|
||||
scope log(XO_DEBUG(c_debug_flag));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue