[cfe-commits] r49349 - /cfe/trunk/lib/Parse/ParseStmt.cpp
Steve Naroff
snaroff at apple.com
Mon Apr 7 14:06:54 PDT 2008
Author: snaroff
Date: Mon Apr 7 16:06:54 2008
New Revision: 49349
URL: http://llvm.org/viewvc/llvm-project?rev=49349&view=rev
Log:
Have Parser::FuzzyParseMicrosoftAsmStatement() return the null statement (';').
Modified:
cfe/trunk/lib/Parse/ParseStmt.cpp
Modified: cfe/trunk/lib/Parse/ParseStmt.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseStmt.cpp?rev=49349&r1=49348&r2=49349&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseStmt.cpp (original)
+++ cfe/trunk/lib/Parse/ParseStmt.cpp Mon Apr 7 16:06:54 2008
@@ -950,7 +950,7 @@
Tok.isNot(tok::r_brace) && Tok.isNot(tok::semi) &&
Tok.isNot(tok::eof));
}
- return false;
+ return Actions.ActOnNullStmt(Tok.getLocation());
}
/// ParseAsmStatement - Parse a GNU extended asm statement.
More information about the cfe-commits
mailing list