mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
|
class AssertStmt;
|
||||||
class Location;
|
class Location;
|
||||||
class Expr;
|
class Expr;
|
||||||
|
|
||||||
|
@ -59,6 +60,7 @@ class InterpreterException : public ReporterException
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
friend class Reporter;
|
friend class Reporter;
|
||||||
|
friend class detail::AssertStmt;
|
||||||
InterpreterException() { }
|
InterpreterException() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue