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
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue