From 46643326fd53a265d47947280b6799946af7c9d1 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 27 Mar 2009 15:04:46 +0000 Subject: Bindings: fix documentation parsing * bindings/bindings.py: fix regex to match documentation (remove condition terminating on '**/') print error messages to stderr. * bindings/java/lang.py: remove commented debugging code --- bindings/java/lang.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'bindings/java') diff --git a/bindings/java/lang.py b/bindings/java/lang.py index 1ba915e2..72dcdd78 100644 --- a/bindings/java/lang.py +++ b/bindings/java/lang.py @@ -747,7 +747,6 @@ protected static native void destroy(long cptr); if do_import_util: print >> fd, 'import java.util.*;' print >> fd, '' - #print 'class %s extends %s {' % (class_name,parent_name) print >> fd, 'public class %s extends %s {' % (class_name,parent_name) # Constructeur private print >> fd, ' /* Constructors */' @@ -762,14 +761,12 @@ protected static native void destroy(long cptr); else: return name[:i].replace('_','').lower() cons = [ x for x in self.binding_data.functions if cprefix(x.name) == c.name.lower() and x.name.endswith('_new') ] - #print 'cons ', cons for m in cons: print >> fd, ' public %s(%s) {' % (class_name, generate_arg_list(self,m.args)) print >> fd, ' super(LassoJNI.%s(%s));' % (self.JNI_function_name(m),generate_arg_list2(m.args)) print >> fd, ' }' # Constructeurs speciaux cons = [ x for x in self.binding_data.functions if cprefix(x.name) == c.name.lower() and not x.name.endswith('_new') ] - #print 'cons ', cons for m in cons: name = method_name(m,class_name) print >> fd, ' static public %s %s(%s) {' % (class_name, name, generate_arg_list(self,m.args)) -- cgit