mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Propagate error correctly in the MC Asm parser for leading '$' expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8928c07e7
commit
95ae09afde
@ -553,7 +553,7 @@ bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
|
||||
|
||||
StringRef Identifier;
|
||||
if (ParseIdentifier(Identifier))
|
||||
return false;
|
||||
return true;
|
||||
|
||||
// This is a symbol reference.
|
||||
std::pair<StringRef, StringRef> Split = Identifier.split('@');
|
||||
|
Loading…
Reference in New Issue
Block a user