mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-16 08:29:08 +00:00
Fixed the AT&T AsmLexer to report the proper strings
for register tokens. Before, if it encountered '%al,' it would report 'al,' as the token. Now it correctly reports '%al'. llvm-svn: 95594
This commit is contained in:
parent
0b30a3f944
commit
219789b7fb
@ -72,7 +72,7 @@ public:
|
||||
static unsigned MatchRegisterName(const StringRef &Name);
|
||||
|
||||
AsmToken X86AsmLexer::LexTokenATT() {
|
||||
const AsmToken &lexedToken = lexDefinite();
|
||||
const AsmToken lexedToken = lexDefinite();
|
||||
|
||||
switch (lexedToken.getKind()) {
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user