[cfe-commits] r39511 - /cfe/cfe/trunk/Parse/ParseStmt.cpp
clattner at cs.uiuc.edu
clattner at cs.uiuc.edu
Wed Jul 11 09:45:09 PDT 2007
Author: clattner
Date: Wed Jul 11 11:45:09 2007
New Revision: 39511
URL: http://llvm.org/viewvc/llvm-project?rev=39511&view=rev
Log:
Add a note about an unimplemented gnu extension.
Modified:
cfe/cfe/trunk/Parse/ParseStmt.cpp
Modified: cfe/cfe/trunk/Parse/ParseStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/ParseStmt.cpp?rev=39511&r1=39510&r2=39511&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/ParseStmt.cpp (original)
+++ cfe/cfe/trunk/Parse/ParseStmt.cpp Wed Jul 11 11:45:09 2007
@@ -391,6 +391,9 @@
Parser::StmtResult Parser::ParseCompoundStatementBody() {
SourceLocation LBraceLoc = ConsumeBrace(); // eat the '{'.
+ // TODO: "__label__ X, Y, Z;" is the GNU "Local Label" extension. These are
+ // only allowed at the start of a compound stmt.
+
SmallVector<StmtTy*, 32> Stmts;
while (Tok.getKind() != tok::r_brace && Tok.getKind() != tok::eof) {
StmtResult R = ParseStatementOrDeclaration(false);
More information about the cfe-commits
mailing list