[ms-inline asm] Continue parsing even when we're in an ignore block.

llvm-svn: 166352
This commit is contained in:
Chad Rosier 2012-10-19 23:15:00 +00:00
parent 4f7f72702b
commit ce09f6b9ef
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ bool AsmParser::ParseStatement() {
return ParseDirectiveEndIf(IDLoc);
// If we are in a ".if 0" block, ignore this statement.
if (TheCondState.Ignore) {
if (TheCondState.Ignore && !ParsingInlineAsm) {
EatToEndOfStatement();
return false;
}