aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:14 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:14 +0000
commit5a8f690ec5feb72d25803435abd52f818e5ed11a (patch)
treeb543fb57f20976c8e0817ee372462855fff9c0e3
parent473cebf7849c6f09b02a061deea2cdab7e687fc6 (diff)
downloadprep-5a8f690ec5feb72d25803435abd52f818e5ed11a.tar.gz
prep-5a8f690ec5feb72d25803435abd52f818e5ed11a.zip
done_util, catching runaway lists
-rw-r--r--lib/prep/html/util.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/prep/html/util.pl b/lib/prep/html/util.pl
index 8473c57..e3e77e6 100644
--- a/lib/prep/html/util.pl
+++ b/lib/prep/html/util.pl
@@ -6,6 +6,10 @@ $LIST=0;
6$skipFN= $FN= 0; 6$skipFN= $FN= 0;
7undef %fn; 7undef %fn;
8 8
9sub done_util {
10 die "Runaway list detected" if $LIST;
11}
12
9sub do_sign { return <<X; } 13sub do_sign { return <<X; }
10<!-- this file was generated by prep - the hacker's choice in preprocessors --> 14<!-- this file was generated by prep - the hacker's choice in preprocessors -->
11X 15X
@@ -80,6 +84,7 @@ X
80} 84}
81 85
82sub do_index { 86sub do_index {
87 die "Runaway list detected" if $LIST;
83 my $bold = shift || "TABLE OF CONTENTS"; 88 my $bold = shift || "TABLE OF CONTENTS";
84 my $t = join("<br/>", @index); 89 my $t = join("<br/>", @index);
85 do_reset_numbers; 90 do_reset_numbers;