rename SourceMgr::PrintError to PrintMessage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-06-21 21:22:11 +00:00
parent b0789ed5a4
commit 14ee48a5ba
9 changed files with 32 additions and 28 deletions

View File

@@ -77,7 +77,7 @@ static int AsLexInput(const char *ProgName) {
while (Tok != asmtok::Eof) {
switch (Tok) {
default:
Lexer.PrintError(Lexer.getLoc(), "driver: unknown token");
Lexer.PrintMessage(Lexer.getLoc(), "driver: unknown token");
Error = true;
break;
case asmtok::Error: