MC: Fix an error message.
authorDaniel Dunbar <daniel@zuster.org>
Thu, 1 Jul 2010 20:20:01 +0000 (20:20 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 1 Jul 2010 20:20:01 +0000 (20:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107424 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCParser/AsmParser.cpp

index 613a2624652717bbd5ea50db4ce5b2d2193725ac..dc63e1dc5fe256f42b166c6ff44067b90f243071 100644 (file)
@@ -1938,7 +1938,7 @@ bool AsmParser::ParseDirectiveLine(StringRef, SMLoc DirectiveLoc) {
   }
 
   if (Lexer.isNot(AsmToken::EndOfStatement))
-    return TokError("unexpected token in '.file' directive");
+    return TokError("unexpected token in '.line' directive");
 
   return false;
 }