summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-10-01 09:23:04 +0000
committerrillig <rillig@NetBSD.org>2022-10-01 09:23:04 +0000
commit38e020f041f2ab65c26f82eb807dbcd4e33cca48 (patch)
tree147356da34cbbb0df4672e2b38c6b4e49fc15830 /usr.bin/make
parent859292fef32f7a06676e46feb4ccc5fcd245138f (diff)
tests/make: make comment in test for .for easier to understand
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/unit-tests/directive-for.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/unit-tests/directive-for.mk b/usr.bin/make/unit-tests/directive-for.mk
index fdce2908bdc..95171c68031 100644
--- a/usr.bin/make/unit-tests/directive-for.mk
+++ b/usr.bin/make/unit-tests/directive-for.mk
@@ -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 @@ var= outer
# 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"