Skip to content

Commit

Permalink
[sipify| do not write docstring for [] operator
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 30, 2017
1 parent c5dcfc1 commit b46de90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sipify.pl
Expand Up @@ -656,7 +656,7 @@ sub remove_constructor_or_body {
$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 ''){
Expand Down

0 comments on commit b46de90

Please sign in to comment.