summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
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 /usr.bin/make/parse.c
parentee30d766b770a7fe20bbdc788a2133fcb7cf07c4 (diff)
make: clean up comments
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r--usr.bin/make/parse.c8
1 files changed, 4 insertions, 4 deletions
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);