summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 14:44:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 14:44:41 +0000
commitf82ca09664d8b4073d7c379ea5f4867714423c93 (patch)
tree73e774afc63c966ed977b8a6a6c3121a7f83399a /man.c
parent2b3f9168554bb673c8ddd5e40dc88253f5e8d999 (diff)
downloadmandoc-f82ca09664d8b4073d7c379ea5f4867714423c93.tar.gz
Fixed after-NLINE-error assertion.
Scanned over all manuals with valgrind. Version up.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.c b/man.c
index 18f03be3..57b79900 100644
--- a/man.c
+++ b/man.c
@@ -343,7 +343,7 @@ man_pmacro(struct man *m, int ln, char *buf)
if ( ! man_vwarn(m, ln, ppos,
"ill-formed macro: %s", mac))
goto err;
- goto out;
+ return(1);
}
if (MAN_MAX == (c = man_hash_find(m->htab, mac))) {
@@ -355,7 +355,7 @@ man_pmacro(struct man *m, int ln, char *buf)
if ( ! man_vwarn(m, ln, ppos,
"unknown macro: %s", mac))
goto err;
- goto out;
+ return(1);
}
/* The macro is sane. Jump to the next word. */