mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
convert scopes to be managed using IntrusivePtr's
This commit is contained in:
parent
f2f041b63b
commit
efd03d41f8
16 changed files with 41 additions and 48 deletions
|
@ -201,8 +201,8 @@ void Func::DescribeDebug(ODesc* d, const Args* args) const
|
|||
detail::TraversalCode Func::Traverse(detail::TraversalCallback* cb) const
|
||||
{
|
||||
// FIXME: Make a fake scope for builtins?
|
||||
detail::Scope* old_scope = cb->current_scope;
|
||||
cb->current_scope = scope.get();
|
||||
auto old_scope = cb->current_scope;
|
||||
cb->current_scope = scope;
|
||||
|
||||
detail::TraversalCode tc = cb->PreFunction(this);
|
||||
HANDLE_TC_STMT_PRE(tc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue