forked from OSchip/llvm-project
tblgen/AsmMatcher: Treat '.' in assembly strings as a token separator.
llvm-svn: 110789
This commit is contained in:
parent
d8042b7bd7
commit
69f024b855
|
@ -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