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:
parent
3402acb805
commit
778f049caa
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* * : update to 2.12 API.
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# Boston, MA 02111-1307, USA.
|
||||
##############################################################
|
||||
|
||||
$debug=0;
|
||||
$debug=$ENV{'GAPI_DEBUG'};
|
||||
|
||||
use XML::LibXML;
|
||||
|
||||
|
@ -1035,9 +1035,9 @@ sub parseInitFunc
|
|||
# FIXME: This ignores the bool helper macro thingie.
|
||||
} elsif ($line =~ /g_object_(class|interface)_install_prop/) {
|
||||
my $prop = $line;
|
||||
do {
|
||||
while ($prop !~ /\)\s*;/) {
|
||||
$prop .= $init_lines[++$linenum];
|
||||
} until ($init_lines[$linenum] =~ /\)\s*;/);
|
||||
}
|
||||
addPropElem ($prop, $obj_el, 0);
|
||||
$propcnt++;
|
||||
} elsif ($line =~ /gtk_container_class_install_child_property/) {
|
||||
|
|
Loading…
Reference in a new issue