diff options
author | wlemb <wlemb> | 2001-07-07 14:02:42 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-07-07 14:02:42 +0000 |
commit | cc9505b7e0a222841087b9e1c7aacb43af5df940 (patch) | |
tree | eae472bb271441cf51e57d6c8ba69c686801064a | |
parent | f925b0f45f53b4d053d29625c9960e7ae8948f3e (diff) | |
download | groff-cc9505b7e0a222841087b9e1c7aacb43af5df940.tar.gz |
* tmac/doc.tmac (Rv): Make `Rv' really not parseable.
Fix synopsis.
* tmac/groff_mdoc.man: Fix synopsis.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tmac/doc.tmac | 22 | ||||
-rw-r--r-- | tmac/groff_mdoc.man | 4 |
3 files changed, 15 insertions, 17 deletions
@@ -1,3 +1,9 @@ +2001-07-06 Ruslan Ermilov <ru@FreeBSD.org> + + * tmac/doc.tmac (Rv): Make `Rv' really not parseable. + Fix synopsis. + * tmac/groff_mdoc.man: Fix synopsis. + 2001-07-05 Ruslan Ermilov <ru@FreeBSD.org> * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list): diff --git a/tmac/doc.tmac b/tmac/doc.tmac index ec2e15fb..38698644 100644 --- a/tmac/doc.tmac +++ b/tmac/doc.tmac @@ -6090,24 +6090,16 @@ . .\" XXX: what does this function without `-std'? . -. if !\n[.$] \{\ -. tm Usage: .Rv [-std] (#\n[.c]) +. if \n[doc-arg-limit] \{\ +. tm Usage: .Rv not callable by other macros (#\n[.c]) +. doc-reset-args . return . \} . -. \" .ds doc-macro-name Rv -. \" .nr doc-arg-ptr 0 -. \" .nr lR +1 -. \" .ds doc-arg1 \$2 -. \" .ds doc-arg2 \$3 -. \" .ds doc-arg3 \$4 -. \" .ds doc-arg4 \$5 -. \" .ds doc-arg5 \$6 -. \" .ds doc-arg6 \$7 -. \" .ds doc-arg7 \$8 -. \" .ds doc-arg8 \$9 -. \" . -. \" .nr doc-num-args (\n[.$] - 1) +. if !\n[.$] \{\ +. tm Usage: .Rv [-std] <function> (#\n[.c]) +. return +. \} . . if "\$1"-std" \{\ . nr doc-reg-Rv \*[doc-section] diff --git a/tmac/groff_mdoc.man b/tmac/groff_mdoc.man index 79200903..c2eec8b4 100644 --- a/tmac/groff_mdoc.man +++ b/tmac/groff_mdoc.man @@ -1515,7 +1515,7 @@ macro generates text for use in the .Sx RETURN VALUES section. .Pp -.Dl Usage: .Rv Oo -std Oc Ao function Ac ... +.Dl Usage: .Rv Oo -std Oc Ao function Ac .Pp For example, .Ql ".Rv -std atexit" @@ -1524,7 +1524,7 @@ produces: .Bd -ragged -offset -indent \# a small hack to suppress a warning message .ds section-old "\*[section] -.ds section 2 +.ds section 3 .Rv -std atexit .ds section "\*[section-old] .Ed |