Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76febdf

Browse files
committed
make_index_entry(): Remove. This is overridden in python.perl and
was never called in this incarnation. The other version is simpler as well.
1 parent 7088df4 commit 76febdf

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

Doc/perl/l2hinit.perl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -240,18 +240,6 @@ sub gen_index_id {
240240
sprintf('%s###%s%010d', $str, $extra, ++$global{'max_id'});
241241
}
242242

243-
sub make_index_entry {
244-
my($br_id,$str) = @_;
245-
# If TITLE is not yet available (i.e the \index command is in the title of the
246-
# current section), use $ref_before.
247-
$TITLE = $ref_before unless $TITLE;
248-
# Save the reference
249-
$str = gen_index_id($str, '');
250-
$index{$str} .= make_half_href("$CURRENT_FILE#$br_id");
251-
"<a name=\"$br_id\">$anchor_invisible_mark<\/a>";
252-
}
253-
254-
255243
sub insert_index{
256244
my($mark,$datafile,$columns,$letters,$prefix) = @_;
257245
my $prog = "$myrootdir/tools/buildindex.py";

0 commit comments

Comments
 (0)