Fixed Travis

This commit is contained in:
Daniel Marjamäki 2015-10-17 17:15:19 +02:00
parent c88297c971
commit 507727e07f
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ static void compileTerm(Token *&tok, AST_state& state)
compileUnaryOp(tok, state, compileExpression);
else
compileBinOp(tok, state, compileExpression);
if (Token::Match(tok, "}"))
if (Token::simpleMatch(tok, "}"))
tok = tok->next();
} else if (!state.cpp || !Token::Match(tok, "new|delete %name%|*|&|::|(|[")) {
while (tok->next() && tok->next()->isName())