Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/share/tmac Pull up following revision(s) (requested by kr...



details:   https://anonhg.NetBSD.org/src/rev/64bbaab4196a
branches:  netbsd-8
changeset: 461441:64bbaab4196a
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Nov 26 08:59:41 2019 +0000

description:
Pull up following revision(s) (requested by kre in ticket #1461):

        share/tmac/doc2html: revision 1.68

PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out.  Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.
With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@

diffstat:

 share/tmac/doc2html |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r 1beac630322d -r 64bbaab4196a share/tmac/doc2html
--- a/share/tmac/doc2html       Tue Nov 26 08:26:19 2019 +0000
+++ b/share/tmac/doc2html       Tue Nov 26 08:59:41 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.67 2016/11/22 00:36:49 kamil Exp $
+.\" $NetBSD: doc2html,v 1.67.6.1 2019/11/26 08:59:41 martin Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -788,12 +788,12 @@
 .      as doc-pcresult \\*[an-eol]
 .      pc-fin
 ..
-.de Lk
-.      as doc-pcresult <a href="\\$1">\\$1</a>
-.      shift
-.      recurse \\$@
-.      pc-fin
-..
+.\".de Lk
+.\".   as doc-pcresult <a href="\\$1">\\$1</a>
+.\".   shift
+.\".   recurse \\$@
+.\".   pc-fin
+.\"..
 .de Mt
 .      as doc-pcresult <a href="mailto:\\$1";>\\$1</a>
 .      shift



Home | Main Index | Thread Index | Old Index