[cfe-commits] r47553 - /cfe/trunk/Lex/Preprocessor.cpp

Lauro Ramos Venancio lauro.venancio at gmail.com
Mon Feb 25 11:08:52 PST 2008


Author: laurov
Date: Mon Feb 25 13:08:51 2008
New Revision: 47553

URL: http://llvm.org/viewvc/llvm-project?rev=47553&view=rev
Log:
Revert an incorrect part of my previuos patch.


Modified:
    cfe/trunk/Lex/Preprocessor.cpp

Modified: cfe/trunk/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Lex/Preprocessor.cpp?rev=47553&r1=47552&r2=47553&view=diff

==============================================================================
--- cfe/trunk/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/Lex/Preprocessor.cpp Mon Feb 25 13:08:51 2008
@@ -2517,7 +2517,7 @@
   
   // 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!");





More information about the cfe-commits mailing list