mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[sipify] fix deprecated annotation without additional comment
This commit is contained in:
parent
70f8266495
commit
83be4fae6b
@ -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 / ){
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user