Remove redundant space in Token::Match pattern

This commit is contained in:
Daniel Marjamäki 2017-04-09 19:27:11 +02:00
parent e6005dfa3c
commit 45d2d66df3
1 changed files with 1 additions and 1 deletions

View File

@ -677,7 +677,7 @@ static void compilePrecedence2(Token *&tok, AST_state& state)
} else
compileBinOp(tok, state, compileScope);
} else if (tok->str() == "[") {
if (state.cpp && isPrefixUnary(tok, state.cpp) && Token::Match(tok->link(), " ] (|{")) { // Lambda
if (state.cpp && isPrefixUnary(tok, state.cpp) && Token::Match(tok->link(), "] (|{")) { // Lambda
// What we do here:
// - Nest the round bracket under the square bracket.
// - Nest what follows the lambda (if anything) with the lambda opening [