diff options
author | 2009-03-26 14:44:41 +0000 | |
---|---|---|
committer | 2009-03-26 14:44:41 +0000 | |
commit | f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab (patch) | |
tree | 038178247a2c74ef393109e33d786b51aa86d493 /man.c | |
parent | 080c584ff1e9cef269b4c220a099f4fb842e538c (diff) | |
download | mandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.tar.gz mandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.tar.zst mandoc-f9a4c0556641ef6c4137e3b06cf137bb9f8e7dab.zip |
Fixed after-NLINE-error assertion.
Scanned over all manuals with valgrind.
Version up.
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.11 2009/03/26 14:38:11 kristaps Exp $ */ +/* $Id: man.c,v 1.12 2009/03/26 14:44:41 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> * @@ -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. */ |