diff --git a/tokenize.cpp b/tokenize.cpp index 2c491dcd6..1821ea80f 100644 --- a/tokenize.cpp +++ b/tokenize.cpp @@ -1464,7 +1464,7 @@ bool Tokenizer::simplifyKnownVariables() { --indentlevel; if ( indentlevel <= 0 ) - continue; + break; } else if ( TOKEN::Match(tok2, "%var% = %num% ;") ||