ref: refs/heads/master
commit 3a8a094932cc88c6fd9afbdba26ef38dee3d5a3c
Author: Klaus Kämpf
Date: Tue Mar 17 21:02:48 2009 +0100
Fix debug print
---
bindings/ruby/parse_swig.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bindings/ruby/parse_swig.rb b/bindings/ruby/parse_swig.rb
index 2b90963..66d0bdf 100644
--- a/bindings/ruby/parse_swig.rb
+++ b/bindings/ruby/parse_swig.rb
@@ -220,13 +220,13 @@ module RDoc
extends = Hash.new
@body.scan(/^%rename\s*\(([^\"\)]+)\)\s+([_\w]+);/) do |class_name, struct_name|
- puts "rename #{class_name} -> #{struct_name}"
+# puts "rename #{class_name} -> #{struct_name}"
extend_name = struct_name
@body.scan(/typedef\s+struct\s+#{struct_name}\s*\{[^}]*\}\s*(\w+);/) do |ename|
extend_name = ename
end
- puts "extend #{extend_name}, class #{class_name}, %extend #{struct_name}"
+# puts "extend #{extend_name}, class #{class_name}, struct #{struct_name}"
# find the corresponding '%extend' directive
@body.scan(/^%extend\s+#{extend_name}\s*\{(.*)\}/mx) do |content|
# now check if we have multiple %extend, the regexp above is greedy and will match all of them
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org