summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-19 09:17:42 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-19 09:17:42 +0000
commita2e95d051a42f8c14270b1c1503570dcf9a3d3f5 (patch)
tree77683a86764d084dda3bd3243685a29db7eda386
parent08cbb2c58873ad90914a8bfb57c8bb0eca5539ea (diff)
downloadmandoc-a2e95d051a42f8c14270b1c1503570dcf9a3d3f5.tar.gz
mandoc-a2e95d051a42f8c14270b1c1503570dcf9a3d3f5.tar.zst
mandoc-a2e95d051a42f8c14270b1c1503570dcf9a3d3f5.zip
Made `Cd' parseable (too many SYNOPSIS sections do this).
-rw-r--r--mdoc.76
-rw-r--r--mdoc_macro.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/mdoc.7 b/mdoc.7
index 1d95a690..6ac548eb 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.48 2009/07/18 23:31:04 kristaps Exp $
+.\" $Id: mdoc.7,v 1.49 2009/07/19 09:17:42 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 18 2009 $
+.Dd $Mdocdate: July 19 2009 $
.Dt MDOC 7
.Os
.\" SECTION---------------------------------------------
@@ -387,7 +387,7 @@ then the macro accepts an arbitrary number of arguments.
.It \&Bsx Ta Yes Ta Yes Ta n
.It \&Bt Ta \&No Ta \&No Ta 0
.It \&Bx Ta Yes Ta Yes Ta n
-.It \&Cd Ta Yes Ta \&No Ta >0
+.It \&Cd Ta Yes Ta Yes Ta >0
.It \&Cm Ta Yes Ta Yes Ta n
.It \&Db Ta \&No Ta \&No Ta 1
.It \&Dd Ta \&No Ta \&No Ta >0
diff --git a/mdoc_macro.c b/mdoc_macro.c
index 3a597d82..66e2f6e4 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.22 2009/07/19 08:28:48 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.23 2009/07/19 09:17:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -71,7 +71,7 @@ const struct mdoc_macro __mdoc_macros[MDOC_MAX] = {
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ad */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* An */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Ar */
- { in_line_eoln, MDOC_CALLABLE }, /* Cd */
+ { in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Cd */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Cm */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Dv */
{ in_line, MDOC_CALLABLE | MDOC_PARSED }, /* Er */