aboutsummaryrefslogtreecommitdiff
path: root/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-24 19:05:57 +0000
committerChris Lattner <sabre@nondot.org>2008-02-24 19:05:57 +0000
commit146ccd44ecde4fd5a28749a694f786e75efe6e62 (patch)
tree35e2fe642e690e21a1e49aef7bd4138a65a03bca /Lex/Lexer.cpp
parentedf9c7f1bc0cb329df87ca3388fce8b6234f0359 (diff)
Fix PR2090, a typo in digraph processing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Lex/Lexer.cpp')
-rw-r--r--Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lex/Lexer.cpp b/Lex/Lexer.cpp
index 3439356b56..98bbb38630 100644
--- a/Lex/Lexer.cpp
+++ b/Lex/Lexer.cpp
@@ -1529,7 +1529,7 @@ LexNextToken:
} else if (Features.Digraphs && Char == ':') {
Result.setKind(tok::l_square); // '<:' -> '['
CurPtr = ConsumeChar(CurPtr, SizeTmp, Result);
- } else if (Features.Digraphs && Char == '>') {
+ } else if (Features.Digraphs && Char == '%') {
Result.setKind(tok::l_brace); // '<%' -> '{'
CurPtr = ConsumeChar(CurPtr, SizeTmp, Result);
} else {