summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/pcpp/PCPP.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-11-20 03:06:18 +0000
committerKenneth Russel <[email protected]>2006-11-20 03:06:18 +0000
commit21dc23a7070e2c3e5a97772ff5a00b1dc4e83fab (patch)
tree52f46b42a289d479bc066ba0482ece52a9d6a816 /src/java/com/sun/gluegen/pcpp/PCPP.java
parent3e4b755db1bdcf103eb75deaed0b91a22c5a38ea (diff)
Updated glext.h to current one from khronos.org subversion repository
including OpenGL 2.1 entry points and definitions. Minor changes to GlueGen and PCPP to allow slightly more complicated #ifdef constructs and new Windows built-in types to parse. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/trunk@50 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/pcpp/PCPP.java')
-rw-r--r--src/java/com/sun/gluegen/pcpp/PCPP.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/pcpp/PCPP.java b/src/java/com/sun/gluegen/pcpp/PCPP.java
index 3978e18..4a98542 100644
--- a/src/java/com/sun/gluegen/pcpp/PCPP.java
+++ b/src/java/com/sun/gluegen/pcpp/PCPP.java
@@ -651,6 +651,27 @@ public class PCPP {
ifValue = ifValue || rhs;
}
break;
+ case '>':
+ {
+ // NOTE: we don't handle expressions like this properly
+ boolean rhs = handleIfRecursive(true);
+ ifValue = false;
+ }
+ break;
+ case '<':
+ {
+ // NOTE: we don't handle expressions like this properly
+ boolean rhs = handleIfRecursive(true);
+ ifValue = false;
+ }
+ break;
+ case '=':
+ {
+ // NOTE: we don't handle expressions like this properly
+ boolean rhs = handleIfRecursive(true);
+ ifValue = false;
+ }
+ break;
case StreamTokenizer.TT_WORD:
{
String word = curTokenAsString();