summaryrefslogtreecommitdiffstats
path: root/etc/FunctionParamUncommenter.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
committerMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
commit2b05a67d30bde1419c2b0f1b5b427d65b8415eb7 (patch)
tree15ae414e82e515d5255428d32ecdf5ed38a51ea5 /etc/FunctionParamUncommenter.java
parentbe4e9559f16e3ac5a5d109b26fbb9d579345f25c (diff)
cleaned up resources folder structure and build.
Diffstat (limited to 'etc/FunctionParamUncommenter.java')
-rw-r--r--etc/FunctionParamUncommenter.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/FunctionParamUncommenter.java b/etc/FunctionParamUncommenter.java
index 456bd281..9296895e 100644
--- a/etc/FunctionParamUncommenter.java
+++ b/etc/FunctionParamUncommenter.java
@@ -29,9 +29,11 @@ public class FunctionParamUncommenter {
= compile("\\s*(const)?\\w+\\s* \\**\\s+ (/\\*) \\s+[^\\*\\[]+ (\\*/)", MULTILINE|COMMENTS);
//^ array size in param name causes some problems
+ //TODO integrate in build...
public static void main(String[] args) throws FileNotFoundException, IOException {
- uncomment("/home/mbien/NetBeansProjects/JOGL/jocl/resources/CL/cl.h", false);
- uncomment("/home/mbien/NetBeansProjects/JOGL/jocl/resources/CL/cl_gl.h", false);
+ String path = "/home/mbien/NetBeansProjects/JOGL/jocl/resources/includes/CL/";
+ uncomment(path + "cl.h", false);
+ uncomment(path + "cl_gl.h", false);
}
private static void uncomment(String file, boolean replace) throws FileNotFoundException, IOException {