[cfe-commits] r38674 - /cfe/cfe/trunk/Lex/Lexer.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:23:42 PDT 2007
Author: sabre
Date: Wed Jul 11 11:23:42 2007
New Revision: 38674
URL: http://llvm.org/viewvc/llvm-project?rev=38674&view=rev
Log:
Fix Preprocessor/macro_space.c, which failed because the ! token had
identifier info incorrectly set.
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=38674&r1=38673&r2=38674&view=diff
==============================================================================
--- cfe/cfe/trunk/Lex/Lexer.cpp (original)
+++ cfe/cfe/trunk/Lex/Lexer.cpp Wed Jul 11 11:23:42 2007
@@ -932,6 +932,7 @@
LexNextToken:
// New token, can't need cleaning yet.
Result.ClearFlag(LexerToken::NeedsCleaning);
+ Result.SetIdentifierInfo(0);
// CurPtr - Cache BufferPtr in an automatic variable.
const char *CurPtr = BufferPtr;
More information about the cfe-commits
mailing list