diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 14:50:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-30 14:50:08 +0000 |
commit | 16567ee6b0b51e693f21d13f133f9fa14e59d992 (patch) | |
tree | 79ac8edf8630ed06810cbdb48ee6425abe52d828 /mandoc.h | |
parent | 1825ddd5edbb59f71fa3505747e772b6e10bc773 (diff) | |
download | mandoc-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 ===== */ |