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: clean up comments



details:   https://anonhg.NetBSD.org/src/rev/0a0027695a0e
branches:  trunk
changeset: 359786:0a0027695a0e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 22 16:24:45 2022 +0000

description:
make: clean up comments

diffstat:

 usr.bin/make/main.c  |  10 +++++-----
 usr.bin/make/parse.c |   8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (67 lines):

diff -r bc7357e7ad3f -r 0a0027695a0e usr.bin/make/main.c
--- a/usr.bin/make/main.c       Sat Jan 22 16:23:56 2022 +0000
+++ b/usr.bin/make/main.c       Sat Jan 22 16:24:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.573 2022/01/15 22:18:04 rillig Exp $        */
+/*     $NetBSD: main.c,v 1.574 2022/01/22 16:24:45 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -111,7 +111,7 @@
 #include "trace.h"
 
 /*     "@(#)main.c     8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: main.c,v 1.573 2022/01/15 22:18:04 rillig Exp $");
+MAKE_RCSID("$NetBSD: main.c,v 1.574 2022/01/22 16:24:45 rillig Exp $");
 #if defined(MAKE_NATIVE) && !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1990, 1993 "
            "The Regents of the University of California.  "
@@ -920,9 +920,9 @@
 }
 
 /*
- * Set up the .TARGETS variable to contain the list of targets to be
- * created. If none specified, make the variable empty -- the parser
- * will fill the thing in with the default or .MAIN target.
+ * Set up the .TARGETS variable to contain the list of targets to be created.
+ * If none specified, make the variable empty for now, the parser will fill
+ * in the default or .MAIN target later.
  */
 static void
 InitVarTargets(void)
diff -r bc7357e7ad3f -r 0a0027695a0e usr.bin/make/parse.c
--- a/usr.bin/make/parse.c      Sat Jan 22 16:23:56 2022 +0000
+++ b/usr.bin/make/parse.c      Sat Jan 22 16:24:45 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: parse.c,v 1.653 2022/01/20 19:24:53 rillig Exp $       */
+/*     $NetBSD: parse.c,v 1.654 2022/01/22 16:24:45 rillig Exp $       */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -106,7 +106,7 @@
 #include "pathnames.h"
 
 /*     "@(#)parse.c    8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.653 2022/01/20 19:24:53 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.654 2022/01/22 16:24:45 rillig Exp $");
 
 /*
  * A file being read.
@@ -2698,7 +2698,7 @@
 }
 
 /*
- * dependency  -> target... op [source...] [';' command]
+ * dependency  -> [target...] op [source...] [';' command]
  * op          -> ':' | '::' | '!'
  */
 static void
@@ -2711,7 +2711,7 @@
        /*
         * For some reason - probably to make the parser impossible -
         * a ';' can be used to separate commands from dependencies.
-        * Attempt to avoid ';' inside substitution patterns.
+        * Attempt to skip over ';' inside substitution patterns.
         */
        {
                char *semicolon = FindSemicolon(line);



Home | Main Index | Thread Index | Old Index