From 507727e07ffabd8cd23c2024b4d09b7a92034c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 17 Oct 2015 17:15:19 +0200 Subject: [PATCH] Fixed Travis --- lib/tokenlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 37ffbf2ea..a70460f5a 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -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())