[cfe-commits] r38774 - /cfe/cfe/trunk/Lex/Preprocessor.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:24:30 PDT 2007


Author: sabre
Date: Wed Jul 11 11:24:30 2007
New Revision: 38774

URL: http://llvm.org/viewvc/llvm-project?rev=38774&view=rev
Log:
Fix a bug in previous commit

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

Modified: cfe/cfe/trunk/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/Preprocessor.cpp?rev=38774&r1=38773&r2=38774&view=diff

==============================================================================
--- cfe/cfe/trunk/Lex/Preprocessor.cpp (original)
+++ cfe/cfe/trunk/Lex/Preprocessor.cpp Wed Jul 11 11:24:30 2007
@@ -120,7 +120,7 @@
 
   // Add keywords and tokens for the current language.
 #define KEYWORD(NAME, FLAGS) \
-  AddKeyword(#NAME+1, tok::kw_ ## NAME,  \
+  AddKeyword(#NAME, tok::kw_ ## NAME,  \
              (FLAGS >> C90Shift) & Mask, \
              (FLAGS >> C99Shift) & Mask, \
              (FLAGS >> CPPShift) & Mask);





More information about the cfe-commits mailing list