mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
ARM parse parenthesized expressions for label references.
Partial fix for rdar://10348687. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143063 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e840e88239
commit
758a519a22
@ -3691,6 +3691,7 @@ bool ARMAsmParser::parseOperand(SmallVectorImpl<MCParsedAsmOperand*> &Operands,
|
|||||||
// Fall though for the Identifier case that is not a register or a
|
// Fall though for the Identifier case that is not a register or a
|
||||||
// special name.
|
// special name.
|
||||||
}
|
}
|
||||||
|
case AsmToken::LParen: // parenthesized expressions like (_strcmp-4)
|
||||||
case AsmToken::Integer: // things like 1f and 2b as a branch targets
|
case AsmToken::Integer: // things like 1f and 2b as a branch targets
|
||||||
case AsmToken::Dot: { // . as a branch target
|
case AsmToken::Dot: { // . as a branch target
|
||||||
// This was not a register so parse other operands that start with an
|
// This was not a register so parse other operands that start with an
|
||||||
|
Loading…
x
Reference in New Issue
Block a user