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: fix comment in test



details:   https://anonhg.NetBSD.org/src/rev/06e4ac8418f2
branches:  trunk
changeset: 359664:06e4ac8418f2
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jan 15 20:16:55 2022 +0000

description:
tests/make: fix comment in test

diffstat:

 usr.bin/make/unit-tests/varmod-ifelse.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 123fccc88295 -r 06e4ac8418f2 usr.bin/make/unit-tests/varmod-ifelse.mk
--- a/usr.bin/make/unit-tests/varmod-ifelse.mk  Sat Jan 15 19:38:05 2022 +0000
+++ b/usr.bin/make/unit-tests/varmod-ifelse.mk  Sat Jan 15 20:16:55 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-ifelse.mk,v 1.17 2021/06/11 13:01:28 rillig Exp $
+# $NetBSD: varmod-ifelse.mk,v 1.18 2022/01/15 20:16:55 rillig Exp $
 #
 # Tests for the ${cond:?then:else} variable modifier, which evaluates either
 # the then-expression or the else-expression, depending on the condition.
@@ -11,9 +11,9 @@
 # TODO: Implementation
 
 # The variable name of the expression is expanded and then taken as the
-# condition.  In this case it becomes:
+# condition.  In the below example it becomes:
 #
-#      variable expression == "variable expression"
+#      variable expression == "literal"
 #
 # This confuses the parser, which expects an operator instead of the bare
 # word "expression".  If the name were expanded lazily, everything would be



Home | Main Index | Thread Index | Old Index