mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-14 04:57:33 +00:00
tblgen/AsmMatcher: Treat '.' in assembly strings as a token separator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8462b30548
commit
4d39b6728d
@ -199,6 +199,14 @@ static void TokenizeAsmString(StringRef AsmString,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case '.':
|
||||||
|
if (InTok) {
|
||||||
|
Tokens.push_back(AsmString.slice(Prev, i));
|
||||||
|
}
|
||||||
|
Prev = i;
|
||||||
|
InTok = true;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
InTok = true;
|
InTok = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user