mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
parent
46d3570bf5
commit
33b064bdb2
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,7 @@ void BroObj::BadTag(const char* msg, const char* t1, const char* t2) const
|
||||||
ODesc d;
|
ODesc d;
|
||||||
DoMsg(&d, out);
|
DoMsg(&d, out);
|
||||||
reporter->FatalError("%s", d.Description());
|
reporter->FatalError("%s", d.Description());
|
||||||
|
reporter->PopLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BroObj::Internal(const char* msg) const
|
void BroObj::Internal(const char* msg) const
|
||||||
|
@ -134,6 +135,7 @@ void BroObj::Internal(const char* msg) const
|
||||||
ODesc d;
|
ODesc d;
|
||||||
DoMsg(&d, msg);
|
DoMsg(&d, msg);
|
||||||
reporter->InternalError("%s", d.Description());
|
reporter->InternalError("%s", d.Description());
|
||||||
|
reporter->PopLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BroObj::InternalWarning(const char* msg) const
|
void BroObj::InternalWarning(const char* msg) const
|
||||||
|
@ -141,6 +143,7 @@ void BroObj::InternalWarning(const char* msg) const
|
||||||
ODesc d;
|
ODesc d;
|
||||||
DoMsg(&d, msg);
|
DoMsg(&d, msg);
|
||||||
reporter->InternalWarning("%s", d.Description());
|
reporter->InternalWarning("%s", d.Description());
|
||||||
|
reporter->PopLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BroObj::AddLocation(ODesc* d) const
|
void BroObj::AddLocation(ODesc* d) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue