Fix past-o.
authorJim Grosbach <grosbach@apple.com>
Fri, 5 Nov 2010 22:11:33 +0000 (22:11 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 5 Nov 2010 22:11:33 +0000 (22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118304 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index f5dc38bcfed04ac84c2c2a3d72a0b3e971405b8e..dffee21b74f3f945d135ac5a56f63c766e4ce5e1 100644 (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))