mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Fix typos in tablegen error messages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df96c562a5
commit
090da8f7e2
@ -845,7 +845,7 @@ Init *TGParser::ParseOperation(Record *CurRec) {
|
||||
ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType());
|
||||
StringRecTy *SType = dyn_cast<StringRecTy>(LHSt->getType());
|
||||
if (!LType && !SType) {
|
||||
TokError("expected list or string type argumnet in unary operator");
|
||||
TokError("expected list or string type argument in unary operator");
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
@ -853,7 +853,7 @@ Init *TGParser::ParseOperation(Record *CurRec) {
|
||||
if (Code == UnOpInit::HEAD
|
||||
|| Code == UnOpInit::TAIL) {
|
||||
if (!LHSl && !LHSt) {
|
||||
TokError("expected list type argumnet in unary operator");
|
||||
TokError("expected list type argument in unary operator");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@ -877,7 +877,7 @@ Init *TGParser::ParseOperation(Record *CurRec) {
|
||||
assert(LHSt && "expected list type argument in unary operator");
|
||||
ListRecTy *LType = dyn_cast<ListRecTy>(LHSt->getType());
|
||||
if (!LType) {
|
||||
TokError("expected list type argumnet in unary operator");
|
||||
TokError("expected list type argument in unary operator");
|
||||
return nullptr;
|
||||
}
|
||||
if (Code == UnOpInit::HEAD) {
|
||||
|
Loading…
Reference in New Issue
Block a user