fix copy-paste-o

llvm-svn: 171936
This commit is contained in:
Sean Silva 2013-01-09 02:11:57 +00:00
parent c95fe2804d
commit 710c3ae5e6
1 changed files with 2 additions and 2 deletions

View File

@ -443,13 +443,13 @@ Record *TGParser::ParseClassID() {
///
MultiClass *TGParser::ParseMultiClassID() {
if (Lex.getCode() != tgtok::Id) {
TokError("expected name for ClassID");
TokError("expected name for MultiClassID");
return 0;
}
MultiClass *Result = MultiClasses[Lex.getCurStrVal()];
if (Result == 0)
TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
Lex.Lex();
return Result;