summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-10-13 18:06:03 -0700
committerHarvey Harrison <[email protected]>2012-10-13 18:06:03 -0700
commit542e7c364ced2865c5deac1498f5ff537a31c0b8 (patch)
treee54bbade96352e6c3a19c929fe2b87168ab35532 /src/java/com/jogamp
parent89f0b7e392f57acfff0b6a195aeddd2225b2f2fe (diff)
gluegen: remove trailing whitespace from psuedo-C parser
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/com/jogamp')
-rw-r--r--src/java/com/jogamp/gluegen/pcpp/PCPP.java10
1 files changed, 5 insertions, 5 deletions
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.");