[llvm-commits] [llvm] r124026 - /llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Bill Wendling
isanbard at gmail.com
Sat Jan 22 01:44:32 PST 2011
Author: void
Date: Sat Jan 22 03:44:32 2011
New Revision: 124026
URL: http://llvm.org/viewvc/llvm-project?rev=124026&view=rev
Log:
ARM uses '.' in their tokens. Give it a name instead of a numeric value.
Modified:
llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp?rev=124026&r1=124025&r2=124026&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp Sat Jan 22 03:44:32 2011
@@ -776,6 +776,7 @@
case '%': Res += "_PCT_"; break;
case ':': Res += "_COLON_"; break;
case '!': Res += "_EXCLAIM_"; break;
+ case '.': Res += "_DOT_"; break;
default:
if (isalnum(*it))
Res += *it;
More information about the llvm-commits
mailing list