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: fix comments



details:   https://anonhg.NetBSD.org/src/rev/b4d84d7ff935
branches:  trunk
changeset: 1026740:b4d84d7ff935
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Dec 05 10:11:31 2021 +0000

description:
make: fix comments

diffstat:

 usr.bin/make/cond.c |  8 ++++----
 usr.bin/make/lst.h  |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r cb565fff280a -r b4d84d7ff935 usr.bin/make/cond.c
--- a/usr.bin/make/cond.c       Sun Dec 05 10:02:51 2021 +0000
+++ b/usr.bin/make/cond.c       Sun Dec 05 10:11:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cond.c,v 1.280 2021/09/26 03:23:06 rillig Exp $        */
+/*     $NetBSD: cond.c,v 1.281 2021/12/05 10:11:31 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -95,7 +95,7 @@
 #include "dir.h"
 
 /*     "@(#)cond.c     8.2 (Berkeley) 1/2/94"  */
-MAKE_RCSID("$NetBSD: cond.c,v 1.280 2021/09/26 03:23:06 rillig Exp $");
+MAKE_RCSID("$NetBSD: cond.c,v 1.281 2021/12/05 10:11:31 rillig Exp $");
 
 /*
  * The parsing of conditional expressions is based on this grammar:
@@ -1055,7 +1055,7 @@
  *     COND_PARSE      if the condition was valid grammatically
  *     COND_INVALID    if not a valid conditional.
  *
- *     (*value) is set to the boolean value of the condition
+ *     *out_value      is set to the boolean value of the condition
  */
 static CondEvalResult
 CondEvalExpression(const char *cond, bool *out_value, bool plain,
@@ -1230,7 +1230,7 @@
                if (p[1] != 'l') {
                        /*
                         * Unknown directive.  It might still be a
-                        * transformation rule like '.elisp.scm',
+                        * transformation rule like '.err.txt',
                         * therefore no error message here.
                         */
                        return COND_INVALID;
diff -r cb565fff280a -r b4d84d7ff935 usr.bin/make/lst.h
--- a/usr.bin/make/lst.h        Sun Dec 05 10:02:51 2021 +0000
+++ b/usr.bin/make/lst.h        Sun Dec 05 10:11:31 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lst.h,v 1.98 2021/04/03 11:08:40 rillig Exp $  */
+/*     $NetBSD: lst.h,v 1.99 2021/12/05 10:11:31 rillig Exp $  */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -137,9 +137,9 @@
 
 /* Insert a datum before the given node. */
 void Lst_InsertBefore(List *, ListNode *, void *);
-/* Place a datum at the front of the list. */
+/* Add a datum at the front of the list. */
 void Lst_Prepend(List *, void *);
-/* Place a datum at the end of the list. */
+/* Add a datum at the end of the list. */
 void Lst_Append(List *, void *);
 /* Remove the node from the list. */
 void Lst_Remove(List *, ListNode *);



Home | Main Index | Thread Index | Old Index