summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-30 14:50:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-30 14:50:08 +0000
commit16567ee6b0b51e693f21d13f133f9fa14e59d992 (patch)
tree79ac8edf8630ed06810cbdb48ee6425abe52d828 /mandoc.h
parent1825ddd5edbb59f71fa3505747e772b6e10bc773 (diff)
downloadmandoc-16567ee6b0b51e693f21d13f133f9fa14e59d992.tar.gz
Remove two useless FATAL errors.
When a file contains neither text nor macros, treat it as an empty document. When the mdoc(7) document prologue is incomplete, use some default values.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 3cafca1b..b52f3054 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -160,14 +160,12 @@ enum mandocerr {
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */
MANDOCERR_TOOLARGE, /* input too large */
- MANDOCERR_NOTMANUAL, /* not a manual */
MANDOCERR_COLUMNS, /* column syntax is inconsistent */
MANDOCERR_BADDISP, /* NOT IMPLEMENTED: .Bd -file */
MANDOCERR_SYNTCHILD, /* child violates parent syntax */
MANDOCERR_SYNTARGCOUNT, /* argument count wrong, violates syntax */
MANDOCERR_SO_PATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */
MANDOCERR_SO_FAIL, /* .so request failed */
- MANDOCERR_NODOCPROLOG, /* no document prologue */
MANDOCERR_MEM, /* static buffer exhausted */
/* ===== system errors ===== */