Skip to content

Commit 83be4fa

Browse files
committed
[sipify] fix deprecated annotation without additional comment
1 parent 70f8266 commit 83be4fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎scripts/sipify.pl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ sub processDoxygenLine {
189189
# remove any trailing spaces, will be present now for empty 'returns' tags
190190
$line =~ s/\s*$//g;
191191
$INDENT = ' 'x( index($line,':',4) + 1);
192-
}
192+
}
193193

194194
# params
195195
if ( $line =~ m/\\param / ){
@@ -227,9 +227,9 @@ sub processDoxygenLine {
227227
$FOUND_SINCE = 1;
228228
return "\n.. versionadded:: $1\n";
229229
}
230-
if ( $line =~ m/\\deprecated (.*)/i ) {
230+
if ( $line =~ m/\\deprecated(.*)/i ) {
231231
$INDENT = '';
232-
return "\n.. deprecated:: $1\n";
232+
return "\n.. deprecated::$1\n";
233233
}
234234

235235
# create links in see also

0 commit comments

Comments
 (0)