Author: kremenek
Date: Mon Nov 17 21:28:24 2008
New Revision: 59490
URL: http://llvm.org/viewvc/llvm-project?rev=59490&view=rev
Log:
Preprocessor::PushIncludeMacroStack() should always zero out CurPPLexer.
Modified:
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=59490&r1=59489&r2=59490&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Mon Nov 17 21:28:24 2008
@@ -508,6 +508,7 @@
CurPPLexer,
CurTokenLexer.take(),
CurDirLookup));
+ CurPPLexer = 0;
}
void PopIncludeMacroStack() {
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits