[sipify| do not write docstring for [] operator

This commit is contained in:
Denis Rouzaud 2017-04-30 23:51:47 +02:00
parent c5dcfc1ebf
commit b46de90d53

View File

@ -656,7 +656,7 @@ while ($line_idx < $line_count){
$is_override = 0;
next;
}
elsif ( $line =~ m/\/\// || $line =~ m/\s*typedef / || $line =~ m/\s*struct / ){
elsif ( $line =~ m/\/\// || $line =~ m/\s*typedef / || $line =~ m/\s*struct / || $line =~ m/operator\[\]\(/ ){
$comment = '';
}
elsif ( $comment !~ m/^\s*$/ || $return_type ne ''){