2007-11-29 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl: collapse embedded multiline function fields to a single line. [Fixes #344853] svn path=/trunk/gtk-sharp/; revision=90461
This commit is contained in:
parent
75d2981d82
commit
029e85265a
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-11-29 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* parser/gapi_pp.pl: collapse embedded multiline function fields
|
||||
to a single line. [Fixes #344853]
|
||||
|
||||
2007-11-29 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* generator/MethodBase.cs: move Name stuff from subclasses.
|
||||
|
|
|
@ -131,6 +131,14 @@ foreach $fname (@hdrs) {
|
|||
my @lines = ();
|
||||
$line = <INFILE>;
|
||||
while ($line !~ /^}\s*(\w+);/) {
|
||||
if ($line =~ /\(.*\).*\(/) {
|
||||
while ($line !~ /;/) {
|
||||
chomp ($line);
|
||||
$nxt = <INFILE>;
|
||||
$nxt =~ s/^\s+/ /;
|
||||
$line .= $nxt;
|
||||
}
|
||||
}
|
||||
push @lines, $line;
|
||||
$line = <INFILE>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue