Remove use of Type::TypeTy which is no longer defined. This change needed
authorReid Spencer <rspencer@reidspencer.com>
Sun, 4 Jul 2004 12:17:44 +0000 (12:17 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 4 Jul 2004 12:17:44 +0000 (12:17 +0000)
for bug 122 since the "Type Type" concept is gone now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14620 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/Lexer.l

index 1c85059757a58ad8cafa4ebb71ef54f925922d90..e2476fdf09901a1a7ceb74c00bfcf3b1d7e3b8e9 100644 (file)
@@ -212,8 +212,8 @@ long            { llvmAsmlval.PrimType = Type::LongTy  ; return LONG;   }
 ulong           { llvmAsmlval.PrimType = Type::ULongTy ; return ULONG;  }
 float           { llvmAsmlval.PrimType = Type::FloatTy ; return FLOAT;  }
 double          { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; }
-type            { llvmAsmlval.PrimType = Type::TypeTy  ; return TYPE;   }
 label           { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL;  }
+type            { return TYPE;   }
 opaque          { return OPAQUE; }
 
 add             { RET_TOK(BinaryOpVal, Add, ADD); }