commit | 95ae09afdedcb8de3d20307c7ee924079d12c68a | [log] [tgz] |
---|---|---|
author | Jim Grosbach <grosbach@apple.com> | Mon May 23 20:36:04 2011 +0000 |
committer | Jim Grosbach <grosbach@apple.com> | Mon May 23 20:36:04 2011 +0000 |
tree | 1fe0f9908351c6bbd61d53009db3efd27a0fb4bb | |
parent | f8928c07e7ab43847770421393da6ad3922e5c8a [diff] [blame] |
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
diff --git a/lib/MC/MCParser/AsmParser.cpp b/lib/MC/MCParser/AsmParser.cpp index 46e01c5..b89efd9 100644 --- a/lib/MC/MCParser/AsmParser.cpp +++ b/lib/MC/MCParser/AsmParser.cpp
@@ -553,7 +553,7 @@ StringRef Identifier; if (ParseIdentifier(Identifier)) - return false; + return true; // This is a symbol reference. std::pair<StringRef, StringRef> Split = Identifier.split('@');