summaryrefslogtreecommitdiffstats
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
commit2959cea0cc836c87281b95e322d61cd646f1c64e (patch)
treeb410fa280942288779f704acb3484da642a59da7
parent0e6b1b324bc2b562a5c1204f0f4857c7b8d6db55 (diff)
downloadmandoc-2959cea0cc836c87281b95e322d61cd646f1c64e.tar.gz
Made `Cd' parseable (too many SYNOPSIS sections do this).
-rw-r--r--mdoc.72
-rw-r--r--mdoc_macro.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index db512c1f..387e801d 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -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 08943960..62a88164 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -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 */