aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitcb427bff4aa7e8472e783055bf9902d03165cf39 (patch)
tree4fd5f60d1596d75c8f3606b5d43e8a6de10e4637 /mandoc.h
parentbb36e84564dae22baa749ca71a03efc77e2ce5f0 (diff)
downloadmandoc-cb427bff4aa7e8472e783055bf9902d03165cf39.tar.gz
mandoc-cb427bff4aa7e8472e783055bf9902d03165cf39.tar.zst
mandoc-cb427bff4aa7e8472e783055bf9902d03165cf39.zip
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 0505eb91..769374ef 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.65 2011/03/22 09:48:13 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.66 2011/03/22 10:35:26 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 */