diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-15 04:26:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-15 04:26:39 +0000 |
commit | 581eba212eeec68331e4aa4a904d7c2d72bac114 (patch) | |
tree | d24a62288413bfb95754a300f45747756dc9943e /mdoc.c | |
parent | 23a511d07a0f2e04178f507d768c9e5e7e86f858 (diff) | |
download | mandoc-581eba212eeec68331e4aa4a904d7c2d72bac114.tar.gz |
Fatal errors no longer exist.
If a file can be opened, mandoc will produce some output;
at worst, the output may be almost empty.
Simplifies error handling and frees a message type for future use.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -190,12 +190,11 @@ mdoc_alloc(struct roff *roff, struct mparse *parse, return(p); } -int +void mdoc_endparse(struct mdoc *mdoc) { mdoc_macroend(mdoc); - return(1); } void |