Move Frame and Scope to zeek::detail namespace

This commit is contained in:
Tim Wojtulewicz 2020-06-15 21:45:44 -07:00 committed by Tim Wojtulewicz
parent 64332ca22c
commit 937a462e70
50 changed files with 306 additions and 257 deletions

View file

@ -7,16 +7,16 @@
TraversalCode traverse_all(TraversalCallback* cb)
{
if ( ! global_scope() )
if ( ! zeek::detail::global_scope() )
return TC_CONTINUE;
if ( ! stmts )
// May be null when parsing fails.
return TC_CONTINUE;
cb->current_scope = global_scope();
cb->current_scope = zeek::detail::global_scope();
TraversalCode tc = global_scope()->Traverse(cb);
TraversalCode tc = zeek::detail::global_scope()->Traverse(cb);
HANDLE_TC_STMT_PRE(tc);
tc = stmts->Traverse(cb);