summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-01 20:20:01 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-01 20:20:01 +0000
commit0aa4365e471d604ad2be8f2687810444a4dc1f9b (patch)
tree710c33469a5e15d04a538370708703cea5e66e95 /llvm/lib/MC
parentbd862711fd108e273a67e68f26671bbb8e82a4b3 (diff)
downloadbcm5719-llvm-0aa4365e471d604ad2be8f2687810444a4dc1f9b.tar.gz
bcm5719-llvm-0aa4365e471d604ad2be8f2687810444a4dc1f9b.zip
MC: Fix an error message.
llvm-svn: 107424
Diffstat (limited to 'llvm/lib/MC')
-rw-r--r--llvm/lib/MC/MCParser/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index 613a2624652..dc63e1dc5fe 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -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;
}
OpenPOWER on IntegriCloud