mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
Fix Typo
Compare the entire keyword string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141295 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5d5c0624d0
commit
c2d18f8929
@ -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…
x
Reference in New Issue
Block a user