diff options
author | Fred Drake <fdrake@acm.org> | 1999-05-13 16:41:19 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-05-13 16:41:19 (GMT) |
commit | 76febdf3fdab33946a8d4baa61df73f0923a092e (patch) | |
tree | 83605b4fd054cd53260877ce72279a0e9b9f7e62 | |
parent | 7088df4c5657bcb49e18beed3ef68743d611075c (diff) | |
download | cpython-76febdf3fdab33946a8d4baa61df73f0923a092e.zip cpython-76febdf3fdab33946a8d4baa61df73f0923a092e.tar.gz cpython-76febdf3fdab33946a8d4baa61df73f0923a092e.tar.bz2 |
make_index_entry(): Remove. This is overridden in python.perl and
was never called in this incarnation. The
other version is simpler as well.
-rw-r--r-- | Doc/perl/l2hinit.perl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index cd81c0a..1019d48 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -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"; |