astyle fix

This commit is contained in:
Reijo Tomperi 2011-12-28 23:57:54 +02:00
parent 09bfa66536
commit 614c90b156
1 changed files with 1 additions and 1 deletions

View File

@ -2642,7 +2642,7 @@ void Tokenizer::simplifyJavaAndCSharp()
tok->deleteNext(2);
} else {
if (Token::Match(tok, "%type% [ ] %var% [=;]") &&
(!tok->previous() || Token::Match(tok->previous(), "[;{}]"))) {
(!tok->previous() || Token::Match(tok->previous(), "[;{}]"))) {
tok->deleteNext(2);
tok->insertToken("*");
tok = tok->tokAt(2);