Generate the right annotations in the index entries.

Thanks to Thomas Heller for the sharp eye.
This commit is contained in:
Fred Drake 2002-04-15 19:35:29 +00:00
parent 6b3cc524c0
commit 0157276cf8
1 changed files with 2 additions and 2 deletions

View File

@ -945,7 +945,7 @@ sub do_cmd_cmemberline{
my $type = next_argument();
my $name = next_argument();
my $idx = make_str_index_entry("<tt class=\"cmember\">$name</tt>"
. " ($type member)");
. " ($container member)");
$idx =~ s/ \(.*\)//;
return "<dt>$type <b>$idx</b>\n<dd>"
. $_;
@ -956,7 +956,7 @@ sub do_env_cmemberdesc{
my $type = next_argument();
my $name = next_argument();
my $idx = make_str_index_entry("<tt class=\"cmember\">$name</tt>"
. " ($type member)");
. " ($container member)");
$idx =~ s/ \(.*\)//;
return "<dl><dt>$type <b>$idx</b>\n<dd>"
. $_