mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +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;
|
||||
}
|
||||
|
||||
case '.':
|
||||
if (InTok) {
|
||||
Tokens.push_back(AsmString.slice(Prev, i));
|
||||
}
|
||||
Prev = i;
|
||||
InTok = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
InTok = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user