Lexer doesn't create typehandle gross stuff now, parser does.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2103 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-04-04 19:22:17 +00:00
parent 0009dac2bf
commit 4e4cae87f9

View File

@ -146,14 +146,9 @@ long { llvmAsmlval.PrimType = Type::LongTy ; return LONG; }
ulong { llvmAsmlval.PrimType = Type::ULongTy ; return ULONG; } ulong { llvmAsmlval.PrimType = Type::ULongTy ; return ULONG; }
float { llvmAsmlval.PrimType = Type::FloatTy ; return FLOAT; } float { llvmAsmlval.PrimType = Type::FloatTy ; return FLOAT; }
double { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; } double { llvmAsmlval.PrimType = Type::DoubleTy; return DOUBLE; }
type { llvmAsmlval.PrimType = Type::TypeTy ; return TYPE; } type { llvmAsmlval.PrimType = Type::TypeTy ; return TYPE; }
label { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL; } label { llvmAsmlval.PrimType = Type::LabelTy ; return LABEL; }
opaque { llvmAsmlval.TypeVal = opaque { return OPAQUE; }
new PATypeHolder<Type>(OpaqueType::get());
return OPAQUE;
}
not { RET_TOK(UnaryOpVal, Not, NOT); } not { RET_TOK(UnaryOpVal, Not, NOT); }