summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-14 22:02:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-14 22:02:49 +0000
commitd278d189880b66efa26e74464c25442317de546f (patch)
tree6c6e0c720ed13f43d774e52a894b7365085c3172 /mandoc.h
parentb4dc7abb73518820b5be9949b77b4bca86da3c42 (diff)
downloadmandoc-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.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/mandoc.h b/mandoc.h
index 3642f231..20a3722f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -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
};