Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests tests/make: make comment in test for...
details: https://anonhg.NetBSD.org/src/rev/7076fc4a04a3
branches: trunk
changeset: 371239:7076fc4a04a3
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Oct 01 09:23:04 2022 +0000
description:
tests/make: make comment in test for .for easier to understand
diffstat:
usr.bin/make/unit-tests/directive-for.mk | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 0f1ef4b68c03 -r 7076fc4a04a3 usr.bin/make/unit-tests/directive-for.mk
--- a/usr.bin/make/unit-tests/directive-for.mk Sat Oct 01 09:20:47 2022 +0000
+++ b/usr.bin/make/unit-tests/directive-for.mk Sat Oct 01 09:23:04 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: directive-for.mk,v 1.14 2022/08/23 16:36:02 rillig Exp $
+# $NetBSD: directive-for.mk,v 1.15 2022/10/01 09:23:04 rillig Exp $
#
# Tests for the .for directive.
#
@@ -235,9 +235,9 @@
# over a variable of the same name, the expression '${scope}' expands to the
# value from the .for loop. This is because when the body of the .for loop is
# expanded, the expression '${scope}' is textually replaced with ${:Uloop}',
-# without resolving any variable names. Later, when the body of the .for loop
-# is actually interpreted, the body text doesn't contain the word 'scope'
-# anymore.
+# without resolving any other variable names (ForLoop_SubstBody). Later, when
+# the body of the .for loop is actually interpreted, the body text doesn't
+# contain the word 'scope' anymore.
.MAKEFLAGS: scope=cmdline
.for scope in loop
. if ${scope} != "loop"
Home |
Main Index |
Thread Index |
Old Index