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(1): fix documentation of preserveUndefined



details:   https://anonhg.NetBSD.org/src/rev/7e7feeb338cb
branches:  trunk
changeset: 945869:7e7feeb338cb
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Nov 08 15:18:09 2020 +0000

description:
make(1): fix documentation of preserveUndefined

Since it is a global variable and not a VarEvalFlags, it affects nested
subexpressions as well, and there is no way to escape it.

diffstat:

 usr.bin/make/make.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f33f584afb6e -r 7e7feeb338cb usr.bin/make/make.h
--- a/usr.bin/make/make.h       Sun Nov 08 15:07:37 2020 +0000
+++ b/usr.bin/make/make.h       Sun Nov 08 15:18:09 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.201 2020/11/08 10:33:47 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.202 2020/11/08 15:18:09 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -441,7 +441,7 @@
 /*
  * If FALSE (the default behavior), undefined subexpressions in a variable
  * expression are discarded.  If TRUE (only during variable assignments using
- * the ':=' assignment operator, in the top-level expansion), they are
+ * the ':=' assignment operator, no matter how deeply nested), they are
  * preserved and possibly expanded later when the variable from the
  * subexpression has been defined.
  *



Home | Main Index | Thread Index | Old Index