Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make(1): fix documentation of ParseLinkSrcArgs....



details:   https://anonhg.NetBSD.org/src/rev/39f35accaed8
branches:  trunk
changeset: 976220:39f35accaed8
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Sep 14 17:47:05 2020 +0000

description:
make(1): fix documentation of ParseLinkSrcArgs.specType

That code is never called for .SUFFIXES, but for .END.

diffstat:

 usr.bin/make/parse.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d40d856a2328 -r 39f35accaed8 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Mon Sep 14 17:44:57 2020 +0000
+++ b/usr.bin/make/parse.c      Mon Sep 14 17:47:05 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.316 2020/09/14 17:44:57 rillig Exp $       */
+/*     $NetBSD: parse.c,v 1.317 2020/09/14 17:47:05 rillig Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -131,7 +131,7 @@
 #include "pathnames.h"
 
 /*     "@(#)parse.c    8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.316 2020/09/14 17:44:57 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.317 2020/09/14 17:47:05 rillig Exp $");
 
 /* types and constants */
 
@@ -747,7 +747,7 @@
     GNode *cgn;
 
     /* The special target of the current dependency line. */
-    /* Example: for ".SUFFIXES: .c.o", it is 'Suffixes'. */
+    /* Example: for ".END: action", it is 'End'. */
     ParseSpecial specType;
 };
 



Home | Main Index | Thread Index | Old Index