diff options
| -rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index 51230fc88f0..e7b73cf6197 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -1024,10 +1024,11 @@ bool Parser::isDeclarationSpecifier() const {      // GNU attributes.    case tok::kw___attribute: +    return true; -    // GNU bizarre protocol extension. FIXME: make an extension? +    // GNU ObjC bizarre protocol extension: <proto1,proto2> with implicit 'id'.    case tok::less: -    return true; +    return getLang().ObjC1;      // typedef-name    case tok::identifier: | 

