Source-Changes-HG archive

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

[src/trunk]: src/share/tmac PR toolchain/54715



details:   https://anonhg.NetBSD.org/src/rev/963c8370bdef
branches:  trunk
changeset: 846638:963c8370bdef
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Nov 26 08:38:19 2019 +0000

description:
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 811936f56ebd -r 963c8370bdef share/tmac/doc2html
--- a/share/tmac/doc2html       Tue Nov 26 08:37:05 2019 +0000
+++ b/share/tmac/doc2html       Tue Nov 26 08:38:19 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.67 2016/11/22 00:36:49 kamil Exp $
+.\" $NetBSD: doc2html,v 1.68 2019/11/26 08:38:19 kre 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