From: Ted Kremenek Date: Tue, 18 Nov 2008 03:28:24 +0000 (+0000) Subject: Preprocessor::PushIncludeMacroStack() should always zero out CurPPLexer. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f89963b1e819d5e73796a4f9d7cd70129846e2ec;p=clang Preprocessor::PushIncludeMacroStack() should always zero out CurPPLexer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59490 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index f048923a67..165000484f 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -508,6 +508,7 @@ private: CurPPLexer, CurTokenLexer.take(), CurDirLookup)); + CurPPLexer = 0; } void PopIncludeMacroStack() {