diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-07 18:50:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-04-07 18:50:35 +0000 |
commit | 602c56869a61150119dfe9b85f48c5ff78fd8b13 (patch) | |
tree | e80c2c66f5f9c8b14ad75b731bd8872ef24023dc | |
parent | b055c76705fe50da105ac33572ee702a7a883f69 (diff) | |
download | mandoc-602c56869a61150119dfe9b85f48c5ff78fd8b13.tar.gz |
Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger).
-rw-r--r-- | mdoc.7 | 2 | ||||
-rw-r--r-- | mdoc_validate.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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)); } |