From 02f1f4f28b75ef0b8af2a6cf178d667bc06071bf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Jul 2006 03:52:46 +0000 Subject: [PATCH] Fix a bug in previous commit llvm-svn: 38774 --- clang/Lex/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp index f4dcb731c0c6..c2c63f4c8c58 100644 --- a/clang/Lex/Preprocessor.cpp +++ b/clang/Lex/Preprocessor.cpp @@ -120,7 +120,7 @@ void Preprocessor::AddKeywords() { // 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);