mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
WhenStmt/WhenInfo restructuring in support of ZAM "when" statements
This commit is contained in:
parent
7d5760ac74
commit
1dd2270272
5 changed files with 200 additions and 90 deletions
|
@ -2342,7 +2342,7 @@ ExprPtr CallExpr::Duplicate()
|
|||
auto func_type = func->GetType();
|
||||
auto in_hook = func_type->AsFuncType()->Flavor() == FUNC_FLAVOR_HOOK;
|
||||
|
||||
return SetSucc(new CallExpr(func_d, args_d, in_hook));
|
||||
return SetSucc(new CallExpr(func_d, args_d, in_hook, in_when));
|
||||
}
|
||||
|
||||
ExprPtr CallExpr::Inline(Inliner* inl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue