Module Name: src
Committed By: uwe
Date: Sun Mar 24 23:39:21 UTC 2024
Modified Files:
src/external/gpl2/groff/dist/tmac: doc.tmac
Log Message:
doc.tmac: .Lk - handle punctuation without anchor-text correctly
doc-get-arg-type expects that doc-width is set beforehand, so call
doc-get-width to make sure doc-get-arg-type detects the trailing
punctuation correctly.
PR bin/58074
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/groff/dist/tmac/doc.tmac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl2/groff/dist/tmac/doc.tmac
diff -u src/external/gpl2/groff/dist/tmac/doc.tmac:1.2 src/external/gpl2/groff/dist/tmac/doc.tmac:1.3
--- src/external/gpl2/groff/dist/tmac/doc.tmac:1.2 Wed Jan 13 19:01:59 2016
+++ src/external/gpl2/groff/dist/tmac/doc.tmac Sun Mar 24 23:39:21 2024
@@ -6416,6 +6416,7 @@
. ds doc-str-Lk Sy \$@
.
. ie (\n[.$] > 1) \{\
+. doc-get-width \$2
. doc-get-arg-type \$2
. ie (\n[doc-arg-type] < 3) \{\
. Em \)\$2: