From e258e94af7e1f8e205e4805eca607adc43201b5b Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 4 Jul 2004 12:17:44 +0000 Subject: [PATCH] Remove use of Type::TypeTy which is no longer defined. This change needed for bug 122 since the "Type Type" concept is gone now. llvm-svn: 14620 --- llvm/lib/AsmParser/Lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/AsmParser/Lexer.l b/llvm/lib/AsmParser/Lexer.l index 1c85059757a5..e2476fdf0990 100644 --- a/llvm/lib/AsmParser/Lexer.l +++ b/llvm/lib/AsmParser/Lexer.l @@ -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); }