Module Name: src Committed By: rillig Date: Sat Jan 29 10:21:26 UTC 2022
Modified Files: src/usr.bin/make/unit-tests: var-recursive.mk Log Message: tests/make: sync comment in test for recursive variable To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/var-recursive.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/make/unit-tests/var-recursive.mk diff -u src/usr.bin/make/unit-tests/var-recursive.mk:1.3 src/usr.bin/make/unit-tests/var-recursive.mk:1.4 --- src/usr.bin/make/unit-tests/var-recursive.mk:1.3 Sat Jan 29 10:09:37 2022 +++ src/usr.bin/make/unit-tests/var-recursive.mk Sat Jan 29 10:21:26 2022 @@ -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