2007-12-17 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl: parse 'typedef struct\n{' properly. svn path=/trunk/gtk-sharp/; revision=91495
This commit is contained in:
parent
57c664572c
commit
6c5f622c43
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2007-12-17 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* parser/gapi_pp.pl: parse 'typedef struct\n{' properly.
|
||||
|
||||
2007-12-12 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/Parameters.cs: fix marshaling for ArrayCount params where
|
||||
|
|
|
@ -126,7 +126,11 @@ foreach $fname (@hdrs) {
|
|||
$deprecated = -1;
|
||||
}
|
||||
$ifdeflevel--;
|
||||
} elsif ($line =~ /typedef struct\s*\{/) {
|
||||
} elsif ($line =~ /typedef struct\s*\{?\s*$/) {
|
||||
while ($line !~ /{/) {
|
||||
chomp ($line);
|
||||
$line .= <INFILE>;
|
||||
}
|
||||
my $first_line = $line;
|
||||
my @lines = ();
|
||||
$line = <INFILE>;
|
||||
|
|
Loading…
Reference in a new issue