Skip to content

Commit

Permalink
[sipify] fix deprecated annotation without additional comment
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 28, 2018
1 parent 70f8266 commit 83be4fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/sipify.pl
Expand Up @@ -189,7 +189,7 @@ sub processDoxygenLine {
# remove any trailing spaces, will be present now for empty 'returns' tags
$line =~ s/\s*$//g;
$INDENT = ' 'x( index($line,':',4) + 1);
}
}

# params
if ( $line =~ m/\\param / ){
Expand Down Expand Up @@ -227,9 +227,9 @@ sub processDoxygenLine {
$FOUND_SINCE = 1;
return "\n.. versionadded:: $1\n";
}
if ( $line =~ m/\\deprecated (.*)/i ) {
if ( $line =~ m/\\deprecated(.*)/i ) {
$INDENT = '';
return "\n.. deprecated:: $1\n";
return "\n.. deprecated::$1\n";
}

# create links in see also
Expand Down

0 comments on commit 83be4fa

Please sign in to comment.