mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Reporter: Allow AssertStmt to throw InterpreterException
This commit is contained in:
parent
e8811a55ef
commit
743658248e
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ using StringValPtr = IntrusivePtr<StringVal>;
|
|||
namespace detail
|
||||
{
|
||||
|
||||
class AssertStmt;
|
||||
class Location;
|
||||
class Expr;
|
||||
|
||||
|
@ -59,6 +60,7 @@ class InterpreterException : public ReporterException
|
|||
{
|
||||
protected:
|
||||
friend class Reporter;
|
||||
friend class detail::AssertStmt;
|
||||
InterpreterException() { }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue