File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -621,13 +621,13 @@ sub do_env_methoddesc{
621621 my $class_name = next_optional_argument();
622622 $class_name = $THIS_CLASS
623623 unless $class_name ;
624- my $method_name = next_argument();
624+ my $method = next_argument();
625625 my $arg_list = next_argument();
626626 my $extra = ' ' ;
627627 if ($class_name ) {
628628 $extra = " ($class_name method)" ;
629629 }
630- my $idx = make_str_index_entry(" <tt>$method_name ()</tt>$extra " );
630+ my $idx = make_str_index_entry(" <tt>$method ()</tt>$extra " );
631631 $idx =~ s / \( .*\) // ;
632632 $idx =~ s /\(\) // ;
633633 return " <dl><dt><b>$idx </b> (<var>$arg_list </var>)\n <dd>" . $_ . ' </dl>' ;
@@ -645,7 +645,7 @@ sub do_cmd_methodline{
645645 if ($class_name ) {
646646 $extra = " ($class_name method)" ;
647647 }
648- my $idx = make_str_index_entry(" <tt>$method_name ()</tt>$extra " );
648+ my $idx = make_str_index_entry(" <tt>$method ()</tt>$extra " );
649649 $idx =~ s / \( .*\) // ;
650650 $idx =~ s /\(\) // ;
651651 return " <dt><b>$idx </b> (<var>$arg_list </var>)\n <dd>"
You can’t perform that action at this time.
0 commit comments