diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-10-17 02:53:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-10-17 02:53:51 +0000 |
| commit | dd0b7cbf0be42fb72889ec667b17a5e5e263cc28 (patch) | |
| tree | afca48528ab7582d113100e0742d6ce0a44f7244 /clang | |
| parent | 6e5b2a084e11bd4bf864c09ae0603be545d47ff4 (diff) | |
| download | bcm5719-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.cpp | 1 |
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) |

