Don't call abort() in the middle of C++ code

This commit is contained in:
Dmitry-Me 2015-03-26 15:26:08 +03:00
parent c70db2a751
commit e36ff852cd
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ static int multiComparePercent(const Token *tok, const char*& haystack, bool emp
break;
default:
//unknown %cmd%, abort
std::abort();
throw InternalError( tok, "Unexpected command" );
}
if (*haystack == '|')