[cfe-commits] r39018 - /cfe/cfe/trunk/Parse/ParseExpr.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:26:53 PDT 2007
Author: sabre
Date: Wed Jul 11 11:26:52 2007
New Revision: 39018
URL: http://llvm.org/viewvc/llvm-project?rev=39018&view=rev
Log:
accept the __extension__ prefix expr
Modified:
cfe/cfe/trunk/Parse/ParseExpr.cpp
Modified: cfe/cfe/trunk/Parse/ParseExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/ParseExpr.cpp?rev=39018&r1=39017&r2=39018&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/ParseExpr.cpp (original)
+++ cfe/cfe/trunk/Parse/ParseExpr.cpp Wed Jul 11 11:26:52 2007
@@ -518,7 +518,8 @@
case tok::exclaim: // unary-expression: '!' cast-expression
case tok::kw___real: // unary-expression: '__real' cast-expression [GNU]
case tok::kw___imag: // unary-expression: '__imag' cast-expression [GNU]
- //case tok::kw__extension__: [TODO]
+ case tok::kw___extension__://unary-expression: '__extension__' cast-expr [GNU]
+ // FIXME: Extension not handled correctly here!
SavedTok = Tok;
ConsumeToken();
Res = ParseCastExpression(false);
More information about the cfe-commits
mailing list