summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-04-07 18:50:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-04-07 18:50:35 +0000
commit602c56869a61150119dfe9b85f48c5ff78fd8b13 (patch)
treee80c2c66f5f9c8b14ad75b731bd8872ef24023dc
parentb055c76705fe50da105ac33572ee702a7a883f69 (diff)
downloadmandoc-602c56869a61150119dfe9b85f48c5ff78fd8b13.tar.gz
Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger).
-rw-r--r--mdoc.72
-rw-r--r--mdoc_validate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index e3215fed..cfda70ed 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1322,7 +1322,7 @@ and
.Sx \&Ux .
.
.Ss \&Cd
-Configuration declaration (suggested for use only in section four
+Configuration declaration (suggested for use in section four and nine
manuals). This denotes strings accepted by
.Xr config 8 .
.Pp
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 2f27220d..1a27f74c 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -806,7 +806,7 @@ static int
pre_cd(PRE_ARGS)
{
- return(check_msec(mdoc, n, 4, 0));
+ return(check_msec(mdoc, n, 4, 9, 0));
}