From 23fdd9dbd509c921e1408f8c36caa57252118963 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 26 Sep 2006 04:30:10 +0000 Subject: Fixed Issue 2: Enable pushing bug in PCPP Applied, tested and verified suggested fix by tedmunds git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@48 a78bb65f-1512-4460-ba86-f6dc96a7bf27 --- src/java/com/sun/gluegen/pcpp/PCPP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 + ")"); } -- cgit v1.2.3