diff options
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 51230fc88f..e7b73cf619 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/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: |