summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-22 10:35:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-22 10:35:26 +0000
commitd7ddf4463ca2aeccf4afd41006e86ebf22df6529 (patch)
tree17458d2ad2c7a6aeca8d7c0cd742714ea7b657ef /mandoc.h
parent643580914487cde30df4724b8d2650d81470351f (diff)
downloadmandoc-d7ddf4463ca2aeccf4afd41006e86ebf22df6529.tar.gz
Add a FATAL error for when no manual type was assigned (you can repeat
this for yourself by having a file consisting only of comments).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 3378518e..a86240ef 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -137,6 +137,7 @@ enum mandocerr {
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */
+ MANDOCERR_NOTMANUAL, /* manual isn't really a manual */
MANDOCERR_COLUMNS, /* column syntax is inconsistent */
MANDOCERR_BADDISP, /* NOT IMPLEMENTED: .Bd -file */
MANDOCERR_SYNTLINESCOPE, /* line scope broken, syntax violated */