mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate ID::ID_Val(), replace with ID::GetVal()
This commit is contained in:
parent
16a8bf3318
commit
32b895f4ba
23 changed files with 69 additions and 68 deletions
|
@ -236,7 +236,7 @@ IntrusivePtr<Val> NameExpr::Eval(Frame* f) const
|
|||
return make_intrusive<Val>(id->GetType(), true);
|
||||
|
||||
if ( id->IsGlobal() )
|
||||
v = {NewRef{}, id->ID_Val()};
|
||||
v = id->GetVal();
|
||||
|
||||
else if ( f )
|
||||
v = {NewRef{}, f->GetElement(id.get())};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue