pdb: make deprecated_since mandatory when deprecated is set.
I believe it is important information and there is no reason for not setting it.
This commit is contained in:
parent
b590dc1a2f
commit
651da72b6c
1 changed files with 3 additions and 0 deletions
|
|
@ -550,6 +550,9 @@ CODE
|
|||
my $procdesc = '';
|
||||
|
||||
if ($proc->{deprecated}) {
|
||||
if (! $proc->{deprecated_since}) {
|
||||
die "ERROR: missing 'deprecated_since' variable on $name.\n";
|
||||
}
|
||||
$deprecated_since = $proc->{deprecated_since};
|
||||
if ($proc->{deprecated} eq 'NONE') {
|
||||
if ($proc->{blurb}) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue