summaryrefslogtreecommitdiff
path: root/tmac/doc.tmac
diff options
context:
space:
mode:
authorwl <wl>2007-10-20 19:14:36 +0000
committerwl <wl>2007-10-20 19:14:36 +0000
commitd4111f687a8cbbe9cfbe49e35936fa2fb45326de (patch)
tree0ef8cf86a2102bb3ca52437b0c86a703076a223c /tmac/doc.tmac
parentd35ea4aac1181d715f766d9ac87568861f6e91b7 (diff)
downloadgroff-d4111f687a8cbbe9cfbe49e35936fa2fb45326de.tar.gz
Move comment lines to make it work without stripping. Suggested by Gunnar
Ritter.
Diffstat (limited to 'tmac/doc.tmac')
-rw-r--r--tmac/doc.tmac20
1 files changed, 10 insertions, 10 deletions
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 083b13a0..1b952173 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -356,10 +356,10 @@
. ds doc-macro-name Fl
. doc-parse-args \$@
.
-. if !\n[.$] \{\
-. \" no arguments
+. \" no arguments
+. if !\n[.$] \
. nop \|\-\|\f[]\s[0]
-. \}\}
+. \}
.
. if !\n[doc-arg-limit] \
. return
@@ -481,8 +481,8 @@
. el \{\
. nr doc-reg-dpr \n[doc-arg-ptr]
.
+. \" the `\%' prevents hyphenation on a dash (`-')
. ie (\n[doc-reg-dpr1] == 2) \
-. \" the `\%' prevents hyphenation on a dash (`-')
. nop \%\*[doc-str-dpr]\&\c
. el \{\
. \" punctuation character
@@ -595,10 +595,10 @@
. ds doc-macro-name Ar
. doc-parse-args \$@
.
-. if !\n[.$] \{\
-. \" no argument
+. \" no argument
+. if !\n[.$] \
. nop \)\*[doc-str-Ar-default]\&\f[]\s[0]
-. \}\}
+. \}
.
. if !\n[doc-arg-limit] \
. return
@@ -1034,10 +1034,10 @@
. ds doc-macro-name Pa
. doc-parse-args \$@
.
-. if !\n[.$] \{\
-. \" default value
+. \" default value
+. if !\n[.$] \
. nop \*[doc-Pa-font]~\f[]\s[0]
-. \}\}
+. \}
.
. if !\n[doc-arg-limit] \
. return