mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 18:48: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,6 +422,8 @@ void ExprStmt::StmtDescribe(ODesc* d) const
|
||||||
|
|
||||||
if ( d->IsReadable() && Tag() == STMT_IF )
|
if ( d->IsReadable() && Tag() == STMT_IF )
|
||||||
d->Add("(");
|
d->Add("(");
|
||||||
|
|
||||||
|
if ( e )
|
||||||
e->Describe(d);
|
e->Describe(d);
|
||||||
|
|
||||||
if ( Tag() == STMT_IF || Tag() == STMT_SWITCH )
|
if ( Tag() == STMT_IF || Tag() == STMT_SWITCH )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue