Reinstate error message.

This commit is contained in:
Simon Martin 2014-05-04 17:06:38 +02:00
parent 42b85088c5
commit 8519a954a0
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ bool Token::Match(const Token *tok, const char pattern[], unsigned int varid)
multicompare(p,tok->isName(),ismulticomp);
} else { // %varid%
if (varid == 0) {
throw InternalError(tok, "Internal error. Tokentch called with varid 0. Please report this to Cppcheck developers");
throw InternalError(tok, "Internal error. Token::Match called with varid 0. Please report this to Cppcheck developers");
}
if (tok->varId() != varid)