do_cmd_versionadded(),

do_cmd_versionchanged():  Support for new macros.
This commit is contained in:
Fred Drake 1998-07-27 20:33:17 +00:00
parent af958c7be2
commit 897d12bb87
1 changed files with 14 additions and 0 deletions

View File

@ -225,6 +225,20 @@ sub do_cmd_deprecated{
"<b>Deprecated since release $release.</b>\n$reason<p>" . $_;
}
sub do_cmd_versionadded{
# one parameter: \versionadded{version}
local($_) = @_;
my $release = next_argument();
"<b>New in version $release.</b><p>" . $_;
}
sub do_cmd_versionchanged{
# one parameter: \versionchanged{version}
local($_) = @_;
my $release = next_argument();
"<b>Changed in version $release.</b><p>" . $_;
}
# file and samp are at the end of this file since they screw up fontlock.
# index commands