commit | 02f1f4f28b75ef0b8af2a6cf178d667bc06071bf | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jul 29 03:52:46 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jul 29 03:52:46 2006 +0000 |
tree | 2a070a8f737bd4244b05f8b6224514c30609095e | |
parent | 6d9f8ed3b6f914ad49042c853aaea16bd99c3708 [diff] [blame] |
Fix a bug in previous commit llvm-svn: 38774
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp index f4dcb73..c2c63f4 100644 --- a/clang/Lex/Preprocessor.cpp +++ b/clang/Lex/Preprocessor.cpp
@@ -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);