mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
fix copy-paste-o
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9302dcc914
commit
36febfd70e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user