parent
5ebfa035aa
commit
212af76367
|
@ -219,7 +219,7 @@ static void followVariableExpressionError(const Token *tok1, const Token *tok2,
|
||||||
if (!tok2)
|
if (!tok2)
|
||||||
return;
|
return;
|
||||||
ErrorPathItem item = std::make_pair(tok2, "'" + tok1->str() + "' is assigned value '" + tok2->expressionString() + "' here.");
|
ErrorPathItem item = std::make_pair(tok2, "'" + tok1->str() + "' is assigned value '" + tok2->expressionString() + "' here.");
|
||||||
if(std::find(errors->begin(), errors->end(), item) != errors->end())
|
if (std::find(errors->begin(), errors->end(), item) != errors->end())
|
||||||
return;
|
return;
|
||||||
errors->push_back(item);
|
errors->push_back(item);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue