mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
fix incomplete AST traversal of "when" statements
This commit is contained in:
parent
8928aa57e7
commit
f25aded984
1 changed files with 6 additions and 0 deletions
|
@ -2105,6 +2105,12 @@ TraversalCode WhenStmt::Traverse(TraversalCallback* cb) const
|
|||
tc = wi->WhenBody()->Traverse(cb);
|
||||
HANDLE_TC_STMT_PRE(tc);
|
||||
|
||||
if ( wi->TimeoutExpr() )
|
||||
{
|
||||
tc = wi->TimeoutExpr()->Traverse(cb);
|
||||
HANDLE_TC_STMT_PRE(tc);
|
||||
}
|
||||
|
||||
if ( wi->TimeoutStmt() )
|
||||
{
|
||||
tc = wi->TimeoutStmt()->Traverse(cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue