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: sync a comment with reality
details: https://anonhg.NetBSD.org/src/rev/b0052737b416
branches: trunk
changeset: 376588:b0052737b416
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Jun 23 06:08:56 2023 +0000
description:
make: sync a comment with reality
No binary change.
diffstat:
usr.bin/make/parse.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (38 lines):
diff -r a7dab423f401 -r b0052737b416 usr.bin/make/parse.c
--- a/usr.bin/make/parse.c Fri Jun 23 05:36:28 2023 +0000
+++ b/usr.bin/make/parse.c Fri Jun 23 06:08:56 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.703 2023/06/21 14:33:36 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.704 2023/06/23 06:08:56 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -105,7 +105,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.703 2023/06/21 14:33:36 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.704 2023/06/23 06:08:56 rillig Exp $");
/* Detects a multiple-inclusion guard in a makefile. */
typedef enum {
@@ -133,7 +133,7 @@ typedef struct IncludedFile {
Buffer buf; /* the file's content or the body of the .for
* loop; either empty or ends with '\n' */
- char *buf_ptr; /* next char to be read */
+ char *buf_ptr; /* next char to be read from buf */
char *buf_end; /* buf_end[-1] == '\n' */
GuardState guardState;
@@ -426,8 +426,8 @@ IsEscaped(const char *line, const char *
}
/*
- * Add the filename and lineno to the GNode so that we remember where it
- * was first defined.
+ * Add the filename and lineno to the GNode so that we remember where its
+ * last command was added or where it was mentioned in a .depend file.
*/
static void
RememberLocation(GNode *gn)
Home |
Main Index |
Thread Index |
Old Index