mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
more debugging information when dumping script optimization data structures
This commit is contained in:
parent
4a5a7f975d
commit
528aa6766a
2 changed files with 13 additions and 0 deletions
|
@ -2709,6 +2709,13 @@ void InlineExpr::ExprDescribe(ODesc* d) const
|
|||
{
|
||||
d->Add("inline(");
|
||||
args->Describe(d);
|
||||
d->Add(")(");
|
||||
for ( auto& p : params )
|
||||
{
|
||||
if ( &p != ¶ms[0] )
|
||||
d->AddSP(",");
|
||||
d->Add(p->Name());
|
||||
}
|
||||
d->Add("){");
|
||||
body->Describe(d);
|
||||
d->Add("}");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue