Pass over the InternalError() changes.

This commit is contained in:
Robin Sommer 2013-10-11 14:47:25 -07:00
parent af446ec189
commit d6855dc4eb
14 changed files with 33 additions and 52 deletions

View file

@ -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)