From 21dc23a7070e2c3e5a97772ff5a00b1dc4e83fab Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 20 Nov 2006 03:06:18 +0000 Subject: 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 --- src/java/com/sun/gluegen/pcpp/PCPP.java | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/java/com/sun/gluegen/pcpp') 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(); -- cgit v1.2.3