Fixed #4173: Elaborated on the verbose error message

This commit is contained in:
Zachary Blair 2013-06-10 23:11:44 -07:00
parent 4efccc2c5d
commit 9c45e6d47d
1 changed files with 1 additions and 0 deletions

View File

@ -2133,6 +2133,7 @@ void CheckOther::nanInArithmeticExpressionError(const Token *tok)
{ {
reportError(tok, Severity::style, "nanInArithmeticExpression", reportError(tok, Severity::style, "nanInArithmeticExpression",
"Using NaN/Inf in a computation.\n" "Using NaN/Inf in a computation.\n"
"Using NaN/Inf in a computation. "
"Although nothing bad really happens, it is suspicious."); "Although nothing bad really happens, it is suspicious.");
} }