mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
[ms-inline asm] Continue parsing even when we're in an ignore block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166352 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5dbe64e2bc
commit
13090f70fc
@ -1138,7 +1138,7 @@ bool AsmParser::ParseStatement() {
|
|||||||
return ParseDirectiveEndIf(IDLoc);
|
return ParseDirectiveEndIf(IDLoc);
|
||||||
|
|
||||||
// If we are in a ".if 0" block, ignore this statement.
|
// If we are in a ".if 0" block, ignore this statement.
|
||||||
if (TheCondState.Ignore) {
|
if (TheCondState.Ignore && !ParsingInlineAsm) {
|
||||||
EatToEndOfStatement();
|
EatToEndOfStatement();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user