summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-01-29 10:21:26 +0000
committerrillig <rillig@NetBSD.org>2022-01-29 10:21:26 +0000
commitf583dc298f046e55d64d98d84e4d391424dca9be (patch)
treecd8faf6b93f451990b6f3c63ad766964610ad7ea /usr.bin/make
parent40e299500d64a5279685f941a8f36f2de23ce40c (diff)
tests/make: sync comment in test for recursive variable
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/unit-tests/var-recursive.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/unit-tests/var-recursive.mk b/usr.bin/make/unit-tests/var-recursive.mk
index f2cf1efea26..1825c8a6312 100644
--- a/usr.bin/make/unit-tests/var-recursive.mk
+++ b/usr.bin/make/unit-tests/var-recursive.mk
@@ -1,4 +1,4 @@
-# $NetBSD: var-recursive.mk,v 1.3 2022/01/29 10:09:37 rillig Exp $
+# $NetBSD: var-recursive.mk,v 1.4 2022/01/29 10:21:26 rillig Exp $
#
# Tests for variable expressions that refer to themselves and thus
# cannot be evaluated.
@@ -46,8 +46,8 @@ V= $V
# If a recursive variable is accessed in a command of a target, the makefiles
# are not parsed anymore, so there is no location information from the
-# .includes and .for directives. TODO: In such a case, use the target
-# definition to provide at least a hint to the location.
+# .includes and .for directives. In such a case, use the location of the last
+# command of the target to provide at least a hint to the location.
VAR= ${VAR}
target:
: OK