mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:50:30 +00:00
Fix Typo
Compare the entire keyword string. llvm-svn: 141295
This commit is contained in:
parent
78a1609fa2
commit
e918e1b1f7
@ -228,7 +228,7 @@ tgtok::TokKind TGLexer::LexIdentifier() {
|
||||
|
||||
if (Len == 5 && !memcmp(IdentStart, "class", 5)) return tgtok::Class;
|
||||
if (Len == 3 && !memcmp(IdentStart, "def", 3)) return tgtok::Def;
|
||||
if (Len == 8 && !memcmp(IdentStart, "multidef", 3)) return tgtok::MultiDef;
|
||||
if (Len == 8 && !memcmp(IdentStart, "multidef", 8)) return tgtok::MultiDef;
|
||||
if (Len == 4 && !memcmp(IdentStart, "defm", 4)) return tgtok::Defm;
|
||||
if (Len == 10 && !memcmp(IdentStart, "multiclass", 10))
|
||||
return tgtok::MultiClass;
|
||||
|
Loading…
Reference in New Issue
Block a user