From e0cef3fdf44432b3d1e6294ccbff5ed45e6eaf0c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 1 Dec 2010 16:54:25 +0000 Subject: Merge OpenBSD's `so' handling (plus some documentation). Great work to schwarze@ and joerg@ for his comments! --- mandoc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mandoc.h') 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 */ -- cgit