]> granicus.if.org Git - clang/commitdiff
Have Parser::FuzzyParseMicrosoftAsmStatement() return the null statement (';').
authorSteve Naroff <snaroff@apple.com>
Mon, 7 Apr 2008 21:06:54 +0000 (21:06 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 7 Apr 2008 21:06:54 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49349 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseStmt.cpp

index f9800219ed5b15f9371be8b54cf49ad395ddc289..670181e2245bf2588688c537bdb5b7a0b314670d 100644 (file)
@@ -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.