aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit247565edc095708336f480f448241f6dbb2aeb6d (patch)
tree13a8caa96bdae70661f1068eef1a1c2581ac2f9b
parent4c592b350859d35cd4689425ac5ab564709c1643 (diff)
downloadmandoc-247565edc095708336f480f448241f6dbb2aeb6d.tar.gz
mandoc-247565edc095708336f480f448241f6dbb2aeb6d.tar.zst
mandoc-247565edc095708336f480f448241f6dbb2aeb6d.zip
Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger).
-rw-r--r--mdoc.74
-rw-r--r--mdoc_validate.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/mdoc.7 b/mdoc.7
index c1bc79f0..829c00f6 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.91 2010/04/07 08:17:16 kristaps Exp $
+.\" $Id: mdoc.7,v 1.92 2010/04/07 18:50:35 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -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 03486978..ff59325f 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_validate.c,v 1.67 2010/04/06 17:01:27 kristaps Exp $ */
+/* $Id: mdoc_validate.c,v 1.68 2010/04/07 18:50:35 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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));
}