[cfe-commits] r59490 - /cfe/trunk/include/clang/Lex/Preprocessor.h

Ted Kremenek kremenek at apple.com
Mon Nov 17 19:28:25 PST 2008


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() {





More information about the cfe-commits mailing list