diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 16:54:25 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 16:54:25 +0000 |
commit | c58b664885be4d4d3c8c566263efb535c8c4e271 (patch) | |
tree | fe850f51e8b51a8801f9bd977c62a32b53e56564 /mandoc.h | |
parent | 4973bccaa30cf310879f5190fb044cfc689289dc (diff) | |
download | mandoc-c58b664885be4d4d3c8c566263efb535c8c4e271.tar.gz mandoc-c58b664885be4d4d3c8c566263efb535c8c4e271.tar.zst mandoc-c58b664885be4d4d3c8c566263efb535c8c4e271.zip |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.25 2010/12/01 10:31:35 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.26 2010/12/01 16:54:25 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 */ |