From 2dbb2da38b8512dca86d405eb21cbb4b950c2946 Mon Sep 17 00:00:00 2001 From: kre Date: Tue, 26 Nov 2019 08:38:19 +0000 Subject: [PATCH] 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@ --- share/tmac/doc2html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/share/tmac/doc2html b/share/tmac/doc2html index d406a4cfe546..ecea46a1451a 100644 --- a/share/tmac/doc2html +++ b/share/tmac/doc2html @@ -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 @@ AT&T UNIX\\$* . as doc-pcresult \\*[an-eol] . pc-fin .. -.de Lk -. as doc-pcresult \\$1 -. shift -. recurse \\$@ -. pc-fin -.. +.\".de Lk +.\". as doc-pcresult \\$1 +.\". shift +.\". recurse \\$@ +.\". pc-fin +.\".. .de Mt . as doc-pcresult \\$1 . shift