summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-17 02:53:51 +0000
committerChris Lattner <sabre@nondot.org>2006-10-17 02:53:51 +0000
commitdd0b7cbf0be42fb72889ec667b17a5e5e263cc28 (patch)
treeafca48528ab7582d113100e0742d6ce0a44f7244 /clang
parent6e5b2a084e11bd4bf864c09ae0603be545d47ff4 (diff)
downloadbcm5719-llvm-dd0b7cbf0be42fb72889ec667b17a5e5e263cc28.tar.gz
bcm5719-llvm-dd0b7cbf0be42fb72889ec667b17a5e5e263cc28.zip
Oversight: fixes test/Lexer/number.c
llvm-svn: 38998
Diffstat (limited to 'clang')
-rw-r--r--clang/Lex/Lexer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/Lex/Lexer.cpp b/clang/Lex/Lexer.cpp
index ee8a2e2b8c5..eb2e1e3b24c 100644
--- a/clang/Lex/Lexer.cpp
+++ b/clang/Lex/Lexer.cpp
@@ -112,6 +112,7 @@ static void InitCharacterInfo() {
CharInfo[(int)'\n'] = CharInfo[(int)'\r'] = CHAR_VERT_WS;
CharInfo[(int)'_'] = CHAR_UNDER;
+ CharInfo[(int)'.'] = CHAR_PERIOD;
for (unsigned i = 'a'; i <= 'z'; ++i)
CharInfo[i] = CharInfo[i+'A'-'a'] = CHAR_LETTER;
for (unsigned i = '0'; i <= '9'; ++i)
OpenPOWER on IntegriCloud