diff options
author | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 1984-04-04 00:44:14 +0000 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 1984-04-04 00:44:14 +0000 |
commit | 5a8f690ec5feb72d25803435abd52f818e5ed11a (patch) | |
tree | b543fb57f20976c8e0817ee372462855fff9c0e3 | |
parent | 473cebf7849c6f09b02a061deea2cdab7e687fc6 (diff) | |
download | prep-5a8f690ec5feb72d25803435abd52f818e5ed11a.tar.gz prep-5a8f690ec5feb72d25803435abd52f818e5ed11a.zip |
done_util, catching runaway lists
-rw-r--r-- | lib/prep/html/util.pl | 5 |
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; |
7 | undef %fn; | 7 | undef %fn; |
8 | 8 | ||
9 | sub done_util { | ||
10 | die "Runaway list detected" if $LIST; | ||
11 | } | ||
12 | |||
9 | sub do_sign { return <<X; } | 13 | sub 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 --> |
11 | X | 15 | X |
@@ -80,6 +84,7 @@ X | |||
80 | } | 84 | } |
81 | 85 | ||
82 | sub do_index { | 86 | sub 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; |