diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-26 14:44:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-26 14:44:41 +0000 |
commit | f82ca09664d8b4073d7c379ea5f4867714423c93 (patch) | |
tree | 73e774afc63c966ed977b8a6a6c3121a7f83399a /man.c | |
parent | 2b3f9168554bb673c8ddd5e40dc88253f5e8d999 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. */ |