summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/pcpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/sun/gluegen/pcpp')
-rw-r--r--src/java/com/sun/gluegen/pcpp/PCPP.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/pcpp/PCPP.java b/src/java/com/sun/gluegen/pcpp/PCPP.java
index a2d3ab0..54bcda9 100644
--- a/src/java/com/sun/gluegen/pcpp/PCPP.java
+++ b/src/java/com/sun/gluegen/pcpp/PCPP.java
@@ -579,7 +579,7 @@ public class PCPP {
if (!isIf) {
popEnableBit();
}
- pushEnableBit(defineEvaluatedToTrue);
+ pushEnableBit(enabled() && defineEvaluatedToTrue == isIf);
//System.out.println("OUT HANDLE_" + (isIf ? "IF" : "ELIF") +" (evaluated to " + defineEvaluatedToTrue + ")");
}