xo-reader: prefer xo::bp spelling to xo::ref::brw

This commit is contained in:
Roland Conybeare 2025-07-05 13:54:34 -05:00
commit 53b6adeef1
26 changed files with 152 additions and 47 deletions

View file

@ -66,6 +66,14 @@ namespace xo {
return nullptr;
}
void
envframestack::upsert(bp<Variable> x) {
/* upsert should always happen in the innermost lexical context.
* We are providing new variable binding (perhaps shadowing an existing binding)
*/
this->top_envframe().upsert(x);
}
void
envframestack::print(std::ostream & os) const {
os << "<envframestack"