$hasdump = 1;
}
-# Function to guess type of stytement
+# Function to guess type of statement
sub detect( $ ) {
( $_ ) = @_;
# typedef struct|enum { something } name;
$struct = $sdepth = 1;
}
} elsif( ( $buff ) = ( $line =~ /\/\*\*\*(.*)\*\*\*\// ) ) {
- $buff =~ s/\s?//;
+ $buff =~ s/^\s?//;
print OUT "$buff\n\n";
$buff = undef;
+ } elsif( ( $buff ) = ( $line =~ /^\s*\/\*\*(.*)\*\*\// ) ) {
+ $buff =~ s/^\s*//;
+ $buff .= "\n";
} elsif( ( $head, $buff ) = ( $line =~ /^(.*)\/\*\*(.*)\*\*\// ) ) {
$buff =~ s/^\s*//;
$buff =~ s/\s*$//;