git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-02-08 20:00:15 +00:00
parent 056202961d
commit 4a2f112a5c

View File

@ -466,7 +466,7 @@ bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc,
}
if (isa<FunctionType>(Ty) || Ty == Type::LabelTy || Ty == Type::VoidTy)
return Error(TyLoc, "invald type for global variable");
return Error(TyLoc, "invalid type for global variable");
GlobalVariable *GV = 0;