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:
Mike Kestner 2007-11-30 01:58:10 +00:00
parent 75d2981d82
commit 029e85265a
2 changed files with 13 additions and 0 deletions

View file

@ -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.

View file

@ -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>;
}