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: sync comment in test for...
details: https://anonhg.NetBSD.org/src/rev/1d3a3c26feb5
branches: trunk
changeset: 359879:1d3a3c26feb5
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Jan 29 10:21:26 2022 +0000
description:
tests/make: sync comment in test for recursive variable
diffstat:
usr.bin/make/unit-tests/var-recursive.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 07e8ec52929c -r 1d3a3c26feb5 usr.bin/make/unit-tests/var-recursive.mk
--- a/usr.bin/make/unit-tests/var-recursive.mk Sat Jan 29 10:19:49 2022 +0000
+++ b/usr.bin/make/unit-tests/var-recursive.mk Sat Jan 29 10:21:26 2022 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index