ExprEngine: Return instead of Throw to continue analysis more
This commit is contained in:
parent
e5a3dc1a0c
commit
820a9c29c1
|
@ -1791,7 +1791,7 @@ static void execute(const Token *start, const Token *end, Data &data, int recurs
|
||||||
{
|
{
|
||||||
if (++recursion > 20)
|
if (++recursion > 20)
|
||||||
// FIXME
|
// FIXME
|
||||||
throw VerifyException(start, "ExprEngine: Max recursion limit exceeded");
|
return;
|
||||||
|
|
||||||
for (const Token *tok = start; tok != end; tok = tok->next()) {
|
for (const Token *tok = start; tok != end; tok = tok->next()) {
|
||||||
if (Token::Match(tok, "[;{}]"))
|
if (Token::Match(tok, "[;{}]"))
|
||||||
|
|
Loading…
Reference in New Issue