Module Name:    src
Committed By:   martin
Date:           Tue Nov 26 08:59:41 UTC 2019

Modified Files:
        src/share/tmac [netbsd-8]: doc2html

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.67.6.1 src/share/tmac/doc2html

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/tmac/doc2html
diff -u src/share/tmac/doc2html:1.67 src/share/tmac/doc2html:1.67.6.1
--- src/share/tmac/doc2html:1.67	Tue Nov 22 00:36:49 2016
+++ src/share/tmac/doc2html	Tue Nov 26 08:59:41 2019
@@ -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 @@ AT&T UNIX\\$*
 .	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

Reply via email to