commit | 4d39b6728dcdcf131bc0739f4ee0f90c836bf94f | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Wed Aug 11 06:36:59 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Wed Aug 11 06:36:59 2010 +0000 |
tree | f573fcf16e8898cd123ab89dc4ff670104bd45de | |
parent | 8462b30548fb5969250858036638c73c16b65b43 [diff] |
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
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index 5464f83..ddc7bad 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -199,6 +199,14 @@ break; } + case '.': + if (InTok) { + Tokens.push_back(AsmString.slice(Prev, i)); + } + Prev = i; + InTok = true; + break; + default: InTok = true; }