mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
better error reporting when ZAM code calls a function
This commit is contained in:
parent
1b6df1a04c
commit
2c9857a618
33 changed files with 38 additions and 52 deletions
|
@ -200,7 +200,6 @@ public:
|
|||
void SetTriggerAssoc(const void* arg_assoc) { assoc = arg_assoc; }
|
||||
const void* GetTriggerAssoc() const { return assoc; }
|
||||
|
||||
void SetCallLoc(const Location* loc) { call_loc = loc; }
|
||||
const detail::Location* GetCallLocation() const;
|
||||
|
||||
void SetDelayed() { delayed = true; }
|
||||
|
@ -254,7 +253,6 @@ private:
|
|||
trigger::TriggerPtr trigger;
|
||||
const CallExpr* call = nullptr;
|
||||
const void* assoc = nullptr;
|
||||
const Location* call_loc = nullptr; // only needed if call is nil
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue