xo-expression2: upsert global vars works in DDefineSsm
This commit is contained in:
parent
595dc47dee
commit
e72ab34419
1 changed files with 3 additions and 2 deletions
|
|
@ -229,8 +229,9 @@ namespace xo {
|
|||
void
|
||||
ParserStateMachine::upsert_var(DVariable * var)
|
||||
{
|
||||
scope log(XO_DEBUG(true), "stub impl");
|
||||
log && log(xtag("var", std::string_view(*(var->name()))));
|
||||
assert(global_symtab_);
|
||||
|
||||
global_symtab_->upsert_variable(this->expr_alloc(), var);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue