forked from OSchip/llvm-project
[ms-inline asm] Continue parsing even when we're in an ignore block.
llvm-svn: 166352
This commit is contained in:
parent
4f7f72702b
commit
ce09f6b9ef
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue