summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Lex/Preprocessor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h
index f048923a67c..165000484f6 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/include/clang/Lex/Preprocessor.h
@@ -508,6 +508,7 @@ private:
CurPPLexer,
CurTokenLexer.take(),
CurDirLookup));
+ CurPPLexer = 0;
}
void PopIncludeMacroStack() {
OpenPOWER on IntegriCloud