diff --git a/clang/Parse/ParseDecl.cpp b/clang/Parse/ParseDecl.cpp index 62545634d01a..d4017bba1a97 100644 --- a/clang/Parse/ParseDecl.cpp +++ b/clang/Parse/ParseDecl.cpp @@ -281,7 +281,7 @@ ParseInitDeclaratorListAfterFirstDeclarator(Declarator &D) { Diag(Tok, diag::err_parse_error); // Skip to end of block or statement - SkipUntil(tok::r_brace, true); + SkipUntil(tok::r_brace, true, true); if (Tok.getKind() == tok::semi) ConsumeToken(); return 0;