summaryrefslogtreecommitdiff
path: root/keywords.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-10-26 08:08:26 +0000
committerSimon Tatham <anakin@pobox.com>2001-10-26 08:08:26 +0000
commit474275049b94784ab1ba9fe2bfd75951a46e975a (patch)
tree89a5298b866eb59a53fb7053510715c033738aad /keywords.c
parent3e043306f1594f7528788a1c593995b391fc7a5a (diff)
downloadhalibut-474275049b94784ab1ba9fe2bfd75951a46e975a.zip
halibut-474275049b94784ab1ba9fe2bfd75951a46e975a.tar.gz
halibut-474275049b94784ab1ba9fe2bfd75951a46e975a.tar.bz2
halibut-474275049b94784ab1ba9fe2bfd75951a46e975a.tar.xz
Oops, that new heading-level error check was a bit over-zealous.
Fixed again. [originally from svn r1330]
Diffstat (limited to 'keywords.c')
-rw-r--r--keywords.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/keywords.c b/keywords.c
index 7dd35b1..b401690 100644
--- a/keywords.c
+++ b/keywords.c
@@ -104,14 +104,7 @@ keywordlist *get_keywords(paragraph *source) {
*/
source->kwtext = number_mktext(n, source->type, source->aux,
prevpara, &source->kwtext2,
- source->fpos);
- if (!source->kwtext) {
- /* There was an error collecting the section numbers.
- * number_mktext has reported it; we record it and bail
- * out at the end. */
- errors = TRUE;
- continue;
- }
+ source->fpos, &errors);
prevpara = source->type;
if (source->keyword && *source->keyword) {