summaryrefslogtreecommitdiff
path: root/unit-tests/var-scope-local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/var-scope-local.mk')
-rw-r--r--unit-tests/var-scope-local.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/unit-tests/var-scope-local.mk b/unit-tests/var-scope-local.mk
index 2cfeda044c40..5c4f5634b230 100644
--- a/unit-tests/var-scope-local.mk
+++ b/unit-tests/var-scope-local.mk
@@ -1,4 +1,4 @@
-# $NetBSD: var-scope-local.mk,v 1.7 2023/04/29 10:16:24 rillig Exp $
+# $NetBSD: var-scope-local.mk,v 1.9 2023/12/20 09:03:09 rillig Exp $
#
# Tests for target-local variables, such as ${.TARGET} or $@. These variables
# are relatively short-lived as they are created just before making the
@@ -107,7 +107,7 @@ dir/subdir/inference-rule-chain.ir-gen-from: .PHONY
.if $(@) != "\$\(@)"
. error
.endif
-# If the variable expression contains modifiers, the behavior depends on the
+# If the expression contains modifiers, the behavior depends on the
# actual modifiers. The modifier ':M' keeps the expression in the state
# 'undefined'. Since the expression is still undefined after evaluating all
# the modifiers, the value of the expression is discarded and the expression
@@ -146,10 +146,10 @@ dir/subdir/inference-rule-chain.ir-gen-from: .PHONY
#
# The empty variable name is expanded twice, once for 'one' and once for
# 'two'.
-# expect: Var_SetExpand: variable name "" expands to empty string, with value "three" - ignored
-# expect: Var_SetExpand: variable name "" expands to empty string, with value "three" - ignored
+# expect: one: ignoring ' = three' as the variable name '' expands to empty
+# expect: two: ignoring ' = three' as the variable name '' expands to empty
one two:=three
-# If the two targets to the left are generated by a variable expression, the
+# If the two targets to the left are generated by an expression, the
# line is parsed as a variable assignment since its left-hand side is a single
# word.
# expect: Global: one two = three
@@ -225,7 +225,7 @@ var-scope-local-append.o: VAR+= local
# target is actually made.
# expect: : Making var-scope-local-append.o with VAR="local to var-scope-local-append.o".
var-scope-local-append.o: VAR += to ${.TARGET}
-# To access the value of a global variable, use a variable expression. This
+# To access the value of a global variable, use an expression. This
# expression is expanded before parsing the whole dependency line. Since the
# expansion happens to the right of the dependency operator ':', the expanded
# text does not influence parsing of the dependency line. Since the expansion