From: Steve Naroff Date: Mon, 7 Apr 2008 21:06:54 +0000 (+0000) Subject: Have Parser::FuzzyParseMicrosoftAsmStatement() return the null statement (';'). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d77bc2834269593282e06806a74d14e244bc26a4;p=clang Have Parser::FuzzyParseMicrosoftAsmStatement() return the null statement (';'). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49349 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseStmt.cpp b/lib/Parse/ParseStmt.cpp index f9800219ed..670181e224 100644 --- a/lib/Parse/ParseStmt.cpp +++ b/lib/Parse/ParseStmt.cpp @@ -950,7 +950,7 @@ Parser::StmtResult Parser::FuzzyParseMicrosoftAsmStatement() { 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.