2007-12-11 Mike Kestner <mkestner@novell.com>

* parser/gapi2xml.pl: fix tightloop in single-line prop declarations.

svn path=/trunk/gtk-sharp/; revision=91136
This commit is contained in:
Mike Kestner 2007-12-12 02:53:11 +00:00
parent 3402acb805
commit 778f049caa
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2007-12-11 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl: fix tightloop in single-line prop declarations.
2007-12-06 Mike Kestner <mkestner@novell.com> 2007-12-06 Mike Kestner <mkestner@novell.com>
* * : update to 2.12 API. * * : update to 2.12 API.

View File

@ -22,7 +22,7 @@
# Boston, MA 02111-1307, USA. # Boston, MA 02111-1307, USA.
############################################################## ##############################################################
$debug=0; $debug=$ENV{'GAPI_DEBUG'};
use XML::LibXML; use XML::LibXML;
@ -1035,9 +1035,9 @@ sub parseInitFunc
# FIXME: This ignores the bool helper macro thingie. # FIXME: This ignores the bool helper macro thingie.
} elsif ($line =~ /g_object_(class|interface)_install_prop/) { } elsif ($line =~ /g_object_(class|interface)_install_prop/) {
my $prop = $line; my $prop = $line;
do { while ($prop !~ /\)\s*;/) {
$prop .= $init_lines[++$linenum]; $prop .= $init_lines[++$linenum];
} until ($init_lines[$linenum] =~ /\)\s*;/); }
addPropElem ($prop, $obj_el, 0); addPropElem ($prop, $obj_el, 0);
$propcnt++; $propcnt++;
} elsif ($line =~ /gtk_container_class_install_child_property/) { } elsif ($line =~ /gtk_container_class_install_child_property/) {