diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-09 16:36:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-09 16:36:46 +0000 |
commit | 3e381e33363dba263e28a98089ccfca871d6efb3 (patch) | |
tree | 4fbecd0ab948d2bdca9ce3bf0f1c47d01bec86bf /usr.bin/mandoc | |
parent | 86f6288e61b53fef68471d14c6de60218a0d51d1 (diff) |
sync to 1.8.1: make .Cd parsed
kristaps@ says many SYNOPSIS sections use this; my impression is
that's not in OpenBSD, but it won't do much harm here, either
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/mdoc.7 | 6 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_macro.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mandoc/mdoc.7 b/usr.bin/mandoc/mdoc.7 index 1f96d4f66f5..7c26f5b7b07 100644 --- a/usr.bin/mandoc/mdoc.7 +++ b/usr.bin/mandoc/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.9 2009/07/26 23:18:08 schwarze Exp $ +.\" $Id: mdoc.7,v 1.10 2009/08/09 16:36:45 schwarze 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 26 2009 $ +.Dd $Mdocdate: August 9 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/usr.bin/mandoc/mdoc_macro.c b/usr.bin/mandoc/mdoc_macro.c index 3778d15d8cc..242af7dca2a 100644 --- a/usr.bin/mandoc/mdoc_macro.c +++ b/usr.bin/mandoc/mdoc_macro.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_macro.c,v 1.14 2009/07/26 23:48:01 schwarze Exp $ */ +/* $Id: mdoc_macro.c,v 1.15 2009/08/09 16:36:45 schwarze 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 */ |