summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 16:54:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 16:54:25 +0000
commite0cef3fdf44432b3d1e6294ccbff5ed45e6eaf0c (patch)
tree2b0017d3faaadeaed8b2ffd31560a5e7c1c74c69 /mandoc.h
parent0fc66c3bca377291b3baa0b377a5663fbfa65858 (diff)
downloadmandoc-e0cef3fdf44432b3d1e6294ccbff5ed45e6eaf0c.tar.gz
Merge OpenBSD's `so' handling (plus some documentation). Great work to
schwarze@ and joerg@ for his comments!
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 086fc851..8398db25 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -45,6 +45,7 @@ enum mandocerr {
MANDOCERR_OK,
MANDOCERR_WARNING, /* ===== start of warnings ===== */
+ MANDOCERR_SO, /* .so is fragile, better use ln(1) */
MANDOCERR_UPPERCASE, /* text should be uppercase */
MANDOCERR_SECOOO, /* sections out of conventional order */
MANDOCERR_SECREP, /* section name repeats */
@@ -114,6 +115,7 @@ enum mandocerr {
MANDOCERR_SYNTARGVCOUNT, /* argument count wrong, violates syntax */
MANDOCERR_SYNTCHILD, /* child violates parent syntax */
MANDOCERR_SYNTARGCOUNT, /* argument count wrong, violates syntax */
+ MANDOCERR_SOPATH, /* NOT IMPLEMENTED: .so with absolute path or ".." */
MANDOCERR_NODOCBODY, /* no document body */
MANDOCERR_NODOCPROLOG, /* no document prologue */
MANDOCERR_UTSNAME, /* utsname system call failed */