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
|
|
@ -24,6 +24,15 @@ namespace xo {
|
|||
namespace scm {
|
||||
// ----- parser -----
|
||||
|
||||
parser::parser()
|
||||
: xs_stack_{}, env_stack_{}
|
||||
{
|
||||
/* top-level environment. initially empty */
|
||||
envframe toplevel_env;
|
||||
|
||||
this->env_stack_.push_envframe(toplevel_env);
|
||||
}
|
||||
|
||||
bool
|
||||
parser::has_incomplete_expr() const {
|
||||
return !xs_stack_.empty();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue