[sipify] fix deprecated annotation without additional comment

This commit is contained in:
Denis Rouzaud 2018-05-28 09:21:48 -04:00
parent 70f8266495
commit 83be4fae6b

View File

@ -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