mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
new function for getting the location, if any, associated with the current call
This commit is contained in:
parent
8fb30f1d62
commit
8f2637decb
6 changed files with 14 additions and 8 deletions
|
@ -74,7 +74,7 @@ int Manager::script_scope = 0;
|
|||
struct scoped_reporter_location {
|
||||
scoped_reporter_location(zeek::detail::Frame* frame)
|
||||
{
|
||||
reporter->PushLocation(frame->GetCall()->GetLocationInfo());
|
||||
reporter->PushLocation(frame->GetCallLocation());
|
||||
}
|
||||
|
||||
~scoped_reporter_location()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue