From: Bill Wendling Date: Sat, 22 Jan 2011 09:44:32 +0000 (+0000) Subject: ARM uses '.' in their tokens. Give it a name instead of a numeric value. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ef755d9051a79680326d6144a2401660fc93e57;p=oota-llvm.git ARM uses '.' in their tokens. Give it a name instead of a numeric value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp index b9031b1561c..082b1c5f3e9 100644 --- a/utils/TableGen/AsmMatcherEmitter.cpp +++ b/utils/TableGen/AsmMatcherEmitter.cpp @@ -776,6 +776,7 @@ static std::string getEnumNameForToken(StringRef Str) { case '%': Res += "_PCT_"; break; case ':': Res += "_COLON_"; break; case '!': Res += "_EXCLAIM_"; break; + case '.': Res += "_DOT_"; break; default: if (isalnum(*it)) Res += *it;