From: Chris Lattner Date: Thu, 19 Feb 2009 18:29:56 +0000 (+0000) Subject: fix PR3609, emit: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b66158c299786042cd6277b163a2c20fd3d11da5;p=clang fix PR3609, emit: t.c:1:10: error: missing terminating '>' character #include ' character") DIAG(err_empty_character, ERROR, "empty character constant") DIAG(err_unterminated_block_comment, ERROR, diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index 5f32522020..efbd84c879 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -687,7 +687,7 @@ void Lexer::LexAngledStringLiteral(Token &Result, const char *CurPtr) { } else if (C == '\n' || C == '\r' || // Newline. (C == 0 && CurPtr-1 == BufferEnd)) { // End of file. if (!isLexingRawMode()) - Diag(BufferPtr, diag::err_unterminated_string); + Diag(BufferPtr, diag::err_unterminated_angled_string); FormTokenWithChars(Result, CurPtr-1, tok::unknown); return; } else if (C == 0) {