xo-interpreter: implement variable lookup
This commit is contained in:
parent
fb4737c27a
commit
d4a35e500d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ namespace xo {
|
|||
|
||||
bp<Expression>
|
||||
GlobalSymtab::require_global(const std::string & vname,
|
||||
bp<Expression> expr)
|
||||
bp<Expression> expr)
|
||||
{
|
||||
this->global_map_[vname] = expr.get();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue