aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-19 18:29:56 +0000
committerChris Lattner <sabre@nondot.org>2009-02-19 18:29:56 +0000
commitb66158c299786042cd6277b163a2c20fd3d11da5 (patch)
tree760fb3e0cd2e026787c275a2e936f9d736da8805 /lib/Lex/Lexer.cpp
parent167fdc137edbfe57be11317b69c35b8d6bc33cf0 (diff)
fix PR3609, emit:
t.c:1:10: error: missing terminating '>' character #include <stdio.h ^ instead of: t.c:1:10: error: missing terminating " character #include <stdio.h ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r--lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
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) {