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

* parser/gapi_pp.pl : fix a struct parsing bug.

svn path=/trunk/gtk-sharp/; revision=36085
This commit is contained in:
Mike Kestner 2004-11-13 02:18:31 +00:00
parent d2d56236ce
commit 314419c926
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix a struct parsing bug.
2004-11-12 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-sources.xml : exclude a couple more pango headers.

View File

@ -184,12 +184,15 @@ foreach $fname (@srcs, @privhdrs) {
}
while ($line = <INFILE>) {
#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;