Fix past-o.

llvm-svn: 118304
This commit is contained in:
Jim Grosbach 2010-11-05 22:11:33 +00:00
parent 452707c125
commit 0fe92e3fea
1 changed files with 1 additions and 1 deletions

View File

@ -903,7 +903,7 @@ bool ARMAsmParser::ParseDirectiveThumb(SMLoc L) {
bool ARMAsmParser::ParseDirectiveThumbFunc(SMLoc L) {
const AsmToken &Tok = Parser.getTok();
if (Tok.isNot(AsmToken::Identifier) && Tok.isNot(AsmToken::String))
return Error(L, "unexpected token in .syntax directive");
return Error(L, "unexpected token in .thumb_func directive");
Parser.Lex(); // Consume the identifier token.
if (getLexer().isNot(AsmToken::EndOfStatement))