tblgen/AsmMatcher: Treat '.' in assembly strings as a token separator.

llvm-svn: 110789
This commit is contained in:
Daniel Dunbar 2010-08-11 06:36:59 +00:00
parent d8042b7bd7
commit 69f024b855
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}