diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:02:49 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-14 22:02:49 +0000 |
commit | d278d189880b66efa26e74464c25442317de546f (patch) | |
tree | 6c6e0c720ed13f43d774e52a894b7365085c3172 /mandoc.h | |
parent | b4dc7abb73518820b5be9949b77b4bca86da3c42 (diff) | |
download | mandoc-d278d189880b66efa26e74464c25442317de546f.tar.gz |
To get rid of SYSERR entries in enum mandocerr, downgrade problems with
missing and unreadable files from SYSERR to ERROR.
Needed for upcoming work.
As a bonus, this minimally simplifies code and documentation.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -147,6 +147,7 @@ enum mandocerr { MANDOCERR_TBLMACRO, /* ignoring macro in table: macro */ /* related to document structure and macros */ + MANDOCERR_FILE, /* cannot open file */ MANDOCERR_ROFFLOOP, /* input stack limit exceeded, infinite loop? */ MANDOCERR_BADCHAR, /* skipping bad character: number */ MANDOCERR_MACRO, /* skipping unknown macro: macro */ @@ -175,12 +176,6 @@ enum mandocerr { MANDOCERR_SO_PATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */ MANDOCERR_SO_FAIL, /* .so request failed */ - /* ===== system errors ===== */ - - MANDOCERR_SYSEXIT, /* gunzip failed with code */ - MANDOCERR_SYSOPEN, /* cannot open file */ - MANDOCERR_SYSSIG, /* gunzip died from signal */ - MANDOCERR_MAX }; |