]> granicus.if.org Git - python/commitdiff
make_index_entry(): Remove. This is overridden in python.perl and
authorFred Drake <fdrake@acm.org>
Thu, 13 May 1999 16:41:19 +0000 (16:41 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 13 May 1999 16:41:19 +0000 (16:41 +0000)
     was never called in this incarnation.  The
     other version is simpler as well.

Doc/perl/l2hinit.perl

index cd81c0a876da79dab035f682c1d7a3b3eb723c51..1019d48bfd6f7042c681135257ca8cab9c8236e1 100644 (file)
@@ -240,18 +240,6 @@ sub gen_index_id {
     sprintf('%s###%s%010d', $str, $extra, ++$global{'max_id'});
 }
 
-sub make_index_entry {
-    my($br_id,$str) = @_;
-    # If TITLE is not yet available (i.e the \index command is in the title of the
-    # current section), use $ref_before.
-    $TITLE = $ref_before unless $TITLE;
-    # Save the reference
-    $str = gen_index_id($str, '');
-    $index{$str} .= make_half_href("$CURRENT_FILE#$br_id");
-    "<a name=\"$br_id\">$anchor_invisible_mark<\/a>";
-}
-
-
 sub insert_index{
     my($mark,$datafile,$columns,$letters,$prefix) = @_;
     my $prog = "$myrootdir/tools/buildindex.py";