xo-expression2: upsert global vars works in DDefineSsm

This commit is contained in:
Roland Conybeare 2026-02-16 19:48:14 -05:00
commit e72ab34419

View file

@ -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