mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
fix for an ancient bug - surprising that this hasn't caused problems previously
This commit is contained in:
parent
aa03e54ba0
commit
be54599896
1 changed files with 3 additions and 1 deletions
|
@ -422,7 +422,9 @@ void ExprStmt::StmtDescribe(ODesc* d) const
|
|||
|
||||
if ( d->IsReadable() && Tag() == STMT_IF )
|
||||
d->Add("(");
|
||||
e->Describe(d);
|
||||
|
||||
if ( e )
|
||||
e->Describe(d);
|
||||
|
||||
if ( Tag() == STMT_IF || Tag() == STMT_SWITCH )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue