llvm-svn: 77656
This commit is contained in:
John McCall 2009-07-31 02:20:35 +00:00
parent e9c6ffc7d1
commit ef50e99783
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ def err_expected_rparen : Error<"expected ')'">;
def err_expected_rsquare : Error<"expected ']'">;
def err_expected_rbrace : Error<"expected '}'">;
def err_expected_greater : Error<"expected '>'">;
def err_expected_semi_declation : Error<
def err_expected_semi_declaration : Error<
"expected ';' at end of declaration">;
def err_expected_semi_decl_list : Error<
"expected ';' at end of declaration list">;

View File

@ -367,7 +367,7 @@ Parser::DeclGroupPtrTy Parser::ParseSimpleDeclaration(unsigned Context,
return DG;
}
Diag(Tok, diag::err_expected_semi_declation);
Diag(Tok, diag::err_expected_semi_declaration);
// Skip to end of block or statement
SkipUntil(tok::r_brace, true, true);
if (Tok.is(tok::semi))

View File

@ -187,7 +187,7 @@ Parser::ParseSingleDeclarationAfterTemplate(
}
// Eat the semi colon after the declaration.
ExpectAndConsume(tok::semi, diag::err_expected_semi_declation);
ExpectAndConsume(tok::semi, diag::err_expected_semi_declaration);
return ThisDecl;
}

View File

@ -561,7 +561,7 @@ Parser::ParseDeclarationOrFunctionDefinition(AccessSpecifier AS) {
DeclGroupPtrTy DG =
ParseInitDeclaratorListAfterFirstDeclarator(DeclaratorInfo);
// Eat the semi colon after the declaration.
ExpectAndConsume(tok::semi, diag::err_expected_semi_declation);
ExpectAndConsume(tok::semi, diag::err_expected_semi_declaration);
return DG;
}