diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2010-05-24 01:41:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2010-05-24 01:41:31 +0000 |
commit | 284fd60184af10ebddfefe0094be27494174be92 (patch) | |
tree | 756af57b655378d805d8d7f43f490359be42781f | |
parent | 935e035c2693c5e3a5e99f7563e25a28b15f0330 (diff) | |
download | mandoc-284fd60184af10ebddfefe0094be27494174be92.tar.gz mandoc-284fd60184af10ebddfefe0094be27494174be92.tar.zst mandoc-284fd60184af10ebddfefe0094be27494174be92.zip |
fix an obvious oversight introduced in rev. 1.5:
MANDOCERR_BODYLOST is not intended to be fatal;
required to unbreak the OpenBSD build
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.5 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.6 2010/05/24 01:41:31 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -72,7 +72,7 @@ enum mandocerr { MANDOCERR_NOTITLE, /* no title in document */ MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ MANDOCERR_BODYLOST, /* body argument(s) will be lost */ -#define MANDOCERR_ERROR MANDOCERR_ARGSLOST +#define MANDOCERR_ERROR MANDOCERR_BODYLOST /* FIXME: this should be a MANDOCERR_ERROR */ MANDOCERR_FONTTYPE, /* missing font type */ |