mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Pass over the InternalError() changes.
This commit is contained in:
parent
af446ec189
commit
d6855dc4eb
14 changed files with 33 additions and 52 deletions
11
src/Desc.cc
11
src/Desc.cc
|
@ -65,20 +65,15 @@ void ODesc::PushIndent()
|
|||
void ODesc::PopIndent()
|
||||
{
|
||||
if ( --indent_level < 0 )
|
||||
{
|
||||
indent_level = 0;
|
||||
reporter->InternalWarning("ODesc::PopIndent underflow");
|
||||
}
|
||||
reporter->InternalError("ODesc::PopIndent underflow");
|
||||
|
||||
NL();
|
||||
}
|
||||
|
||||
void ODesc::PopIndentNoNL()
|
||||
{
|
||||
if ( --indent_level < 0 )
|
||||
{
|
||||
indent_level = 0;
|
||||
reporter->InternalWarning("ODesc::PopIndent underflow");
|
||||
}
|
||||
reporter->InternalError("ODesc::PopIndent underflow");
|
||||
}
|
||||
|
||||
void ODesc::Add(const char* s, int do_indent)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue