summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-01-22 16:24:45 +0000
committerrillig <rillig@NetBSD.org>2022-01-22 16:24:45 +0000
commit1defe3aa3573fe82df774bfbb948cb9499a7bc2f (patch)
treeebeb2efbfdb59db86b6052098cb69c16ef2bd614
parentee30d766b770a7fe20bbdc788a2133fcb7cf07c4 (diff)
make: clean up comments
-rw-r--r--usr.bin/make/main.c10
-rw-r--r--usr.bin/make/parse.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index d67e9314cdc..2410f13a167 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -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 @@ runTargets(void)
}
/*
- * 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 --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index fb68d28ed59..c7499fe959c 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -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 @@ FindSemicolon(char *p)
}
/*
- * dependency -> target... op [source...] [';' command]
+ * dependency -> [target...] op [source...] [';' command]
* op -> ':' | '::' | '!'
*/
static void
@@ -2711,7 +2711,7 @@ ParseDependencyLine(char *line)
/*
* 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);