diff options
author | Kenneth Russel <[email protected]> | 2006-09-26 04:30:10 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-09-26 04:30:10 +0000 |
commit | 23fdd9dbd509c921e1408f8c36caa57252118963 (patch) | |
tree | 482d58a98103b088bda8c0c104b52de1611bd148 /src/java | |
parent | 25a8bb55e70085793031d779bdf8f4fd1ccfdb65 (diff) |
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
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/com/sun/gluegen/pcpp/PCPP.java | 2 |
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 + ")"); } |