[cfe-commits] r38998 - /cfe/cfe/trunk/Lex/Lexer.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:26:40 PDT 2007


Author: sabre
Date: Wed Jul 11 11:26:40 2007
New Revision: 38998

URL: http://llvm.org/viewvc/llvm-project?rev=38998&view=rev
Log:
Oversight: fixes test/Lexer/number.c

Modified:
    cfe/cfe/trunk/Lex/Lexer.cpp

Modified: cfe/cfe/trunk/Lex/Lexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/Lexer.cpp?rev=38998&r1=38997&r2=38998&view=diff

==============================================================================
--- cfe/cfe/trunk/Lex/Lexer.cpp (original)
+++ cfe/cfe/trunk/Lex/Lexer.cpp Wed Jul 11 11:26:40 2007
@@ -112,6 +112,7 @@
   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)





More information about the cfe-commits mailing list