Merge pull request #579 from Dmitry-Me/dontCallAbort

Don't call abort() in the middle of C++ code
This commit is contained in:
Daniel Marjamäki 2015-03-26 16:15:59 +01:00
commit b637e70d63
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 == '|')