diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:58:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:58:16 +0000 |
commit | b0031dfe9b9cc55f4b61c2a1d9e68a6348a85adb (patch) | |
tree | c35e73ede53f08e7ab51e0b49fb27526f690f9be /read.c | |
parent | 323e3a106a57ad0f1823fa1f87d6bafc7f3097f3 (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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')) { |