Remove redundant space in Token::Match pattern
This commit is contained in:
parent
e6005dfa3c
commit
45d2d66df3
|
@ -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 [
|
||||
|
|
Loading…
Reference in New Issue