aboutsummaryrefslogtreecommitdiff
path: root/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-25 19:08:51 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-25 19:08:51 +0000
commit2083a91d5951306afff980b171276e7ffeac919b (patch)
treea982f2d43429a4a1967da2cf4ccbe9724ed3d3db /Lex/Preprocessor.cpp
parent0184cc719f06d2c5da6ae0725847ef875c6128cd (diff)
Revert an incorrect part of my previuos patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Lex/Preprocessor.cpp')
-rw-r--r--Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lex/Preprocessor.cpp b/Lex/Preprocessor.cpp
index dbff1ec281..be2ffefaa7 100644
--- a/Lex/Preprocessor.cpp
+++ b/Lex/Preprocessor.cpp
@@ -2517,7 +2517,7 @@ void Preprocessor::HandleEndifDirective(Token &EndifToken) {
// If this the end of a top-level #endif, inform MIOpt.
if (CurLexer->getConditionalStackDepth() == 0)
- CurLexer->MIOpt.EnterTopLevelConditional();
+ CurLexer->MIOpt.ExitTopLevelConditional();
assert(!CondInfo.WasSkipping && !CurLexer->LexingRawMode &&
"This code should only be reachable in the non-skipping case!");