Revert r171140. We don't actually need to support #NAME. Because NAME by itself is interpreted just fine.
llvm-svn: 171695
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index e5875ad..17f0abc 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -2406,11 +2406,7 @@
Init *DefmPrefix = 0;
- Lex.Lex(); // eat the defm.
-
- // Note that tgtok::paste is here to allow starting with #NAME.
- if (Lex.getCode() == tgtok::Id ||
- Lex.getCode() == tgtok::paste) {
+ if (Lex.Lex() == tgtok::Id) { // eat the defm.
DefmPrefix = ParseObjectName(CurMultiClass);
}