From 542e7c364ced2865c5deac1498f5ff537a31c0b8 Mon Sep 17 00:00:00 2001
From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Sat, 13 Oct 2012 18:06:03 -0700
Subject: gluegen: remove trailing whitespace from psuedo-C parser

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 src/java/com/jogamp/gluegen/pcpp/PCPP.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/java/com/jogamp/gluegen/pcpp/PCPP.java')

diff --git a/src/java/com/jogamp/gluegen/pcpp/PCPP.java b/src/java/com/jogamp/gluegen/pcpp/PCPP.java
index 59807b2..07c7bd3 100644
--- a/src/java/com/jogamp/gluegen/pcpp/PCPP.java
+++ b/src/java/com/jogamp/gluegen/pcpp/PCPP.java
@@ -350,7 +350,7 @@ public class PCPP {
                 if (newS == null) {
                     newS = s;
                 }
-                
+
                 Macro macro = macroMap.get(newS);
                 if(macro != null) {
                     newS = "";
@@ -585,7 +585,7 @@ public class PCPP {
                         emitDefine = false;
                     }
                 }
-            
+
             } else if (nameIsMacro) {
                 // list parameters
                 List<String> params = new ArrayList<String>();
@@ -609,7 +609,7 @@ public class PCPP {
                     LOG.log(WARNING, "\"{0}\" redefined from \"{1}\" to \"{2}\"", new Object[]{name, oldDef, macro});
                 }
                 emitDefine = false;
-             
+
             }else{
 
                 // find constant expressions like (1 << 3)
@@ -641,7 +641,7 @@ public class PCPP {
                         // This is probably something the user should investigate.
                         throw new RuntimeException("Cannot redefine symbol \"" + name +
                                                    " from \"" + defineMap.get(name) + "\" to non-constant " +
-                                                   " definition \"" + val.toString() + "\"" + 
+                                                   " definition \"" + val.toString() + "\"" +
                                                    " at file \"" + filename() + ", line " + lineNumber() );
                     }
                     defineMap.put(name, val.toString());
@@ -1130,7 +1130,7 @@ public class PCPP {
         print("# " + lineNumber() + " \"" + filename() + "\"");
         println();
     }
-    
+
     private static void usage() {
         System.err.println("Usage: java PCPP [filename | -]");
         System.err.println("Minimal pseudo-C-preprocessor.");
-- 
cgit v1.2.3