[cfe-commits] r39243 - /cfe/cfe/trunk/Basic/TokenKinds.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:41:48 PDT 2007
Author: sabre
Date: Wed Jul 11 11:41:48 2007
New Revision: 39243
URL: http://llvm.org/viewvc/llvm-project?rev=39243&view=rev
Log:
allow getTokenName to work for keywords.
Modified:
cfe/cfe/trunk/Basic/TokenKinds.cpp
Modified: cfe/cfe/trunk/Basic/TokenKinds.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Basic/TokenKinds.cpp?rev=39243&r1=39242&r2=39243&view=diff
==============================================================================
--- cfe/cfe/trunk/Basic/TokenKinds.cpp (original)
+++ cfe/cfe/trunk/Basic/TokenKinds.cpp Wed Jul 11 11:41:48 2007
@@ -18,6 +18,7 @@
static const char * const TokNames[] = {
#define TOK(X) #X,
+#define KEYWORD(X,Y) #X,
#include "clang/Basic/TokenKinds.def"
0
};
More information about the cfe-commits
mailing list