diff --git a/ChangeLog b/ChangeLog index 4927230f8..f99861561 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-12 Mike Kestner + + * parser/gapi_pp.pl : fix a struct parsing bug. + 2004-11-12 Mike Kestner * sources/gtk-sharp-sources.xml : exclude a couple more pango headers. diff --git a/parser/gapi_pp.pl b/parser/gapi_pp.pl index 5c412ffc9..985a444a4 100755 --- a/parser/gapi_pp.pl +++ b/parser/gapi_pp.pl @@ -184,12 +184,15 @@ foreach $fname (@srcs, @privhdrs) { } while ($line = ) { - #next if ($line !~ /^(struct|\w+_class_init)|g_boxed_type_register_static/); next if ($line !~ /^(struct|\w+_class_init|\w+_base_init|\w+_get_type)/); if ($line =~ /^struct/) { # need some of these to parse out parent types print "private"; + if ($line =~ /;/) { + print $line; + next; + } } $comment = 0;