projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8928c0
)
Propagate error correctly in the MC Asm parser for leading '$' expressions.
author
Jim Grosbach
<grosbach@apple.com>
Mon, 23 May 2011 20:36:04 +0000
(20:36 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 23 May 2011 20:36:04 +0000
(20:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131918
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCParser/AsmParser.cpp
b/lib/MC/MCParser/AsmParser.cpp
index 46e01c553519efdca725f24b7845c08ab6a3acf5..b89efd98649647d242b4c07d106026b04f0a3718 100644
(file)
--- a/
lib/MC/MCParser/AsmParser.cpp
+++ b/
lib/MC/MCParser/AsmParser.cpp
@@
-553,7
+553,7
@@
bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
StringRef Identifier;
if (ParseIdentifier(Identifier))
- return
fals
e;
+ return
tru
e;
// This is a symbol reference.
std::pair<StringRef, StringRef> Split = Identifier.split('@');