summaryrefslogtreecommitdiffstats
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-14 22:58:16 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-14 22:58:16 +0000
commitb0031dfe9b9cc55f4b61c2a1d9e68a6348a85adb (patch)
treec35e73ede53f08e7ab51e0b49fb27526f690f9be /read.c
parent323e3a106a57ad0f1823fa1f87d6bafc7f3097f3 (diff)
downloadmandoc-b0031dfe9b9cc55f4b61c2a1d9e68a6348a85adb.tar.gz
downgrade ".so with absolute path" from FATAL to ERROR;
allows to get rid of ROFF_ERR
Diffstat (limited to 'read.c')
-rw-r--r--read.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/read.c b/read.c
index cf2d2bf8..00c7d699 100644
--- a/read.c
+++ b/read.c
@@ -210,6 +210,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"uname(3) system call failed, using UNKNOWN",
"unknown standard specifier",
"skipping request without numeric argument",
+ "NOT IMPLEMENTED: .so with absolute path or \"..\"",
"skipping all arguments",
"skipping excess arguments",
"divide by zero",
@@ -217,7 +218,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"generic fatal error",
"input too large",
- "NOT IMPLEMENTED: .so with absolute path or \"..\"",
".so request failed",
};
@@ -504,9 +504,6 @@ rerun:
case ROFF_IGN:
pos = 0;
continue;
- case ROFF_ERR:
- assert(MANDOCLEVEL_FATAL <= curp->file_status);
- break;
case ROFF_SO:
if ( ! (curp->options & MPARSE_SO) &&
(i >= blk.sz || blk.buf[i] == '\0')) {