aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/variable.cxx')
-rw-r--r--libbuild2/variable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/variable.cxx b/libbuild2/variable.cxx
index 6cdf3ee..40eeccd 100644
--- a/libbuild2/variable.cxx
+++ b/libbuild2/variable.cxx
@@ -1994,7 +1994,7 @@ namespace build2
{
// Seeing that we are reversing for consumption, it feels natural to
// reverse JSON null to our [null] rather than empty. This, in
- // particular, helps nested subscript.
+ // particular, helps chained subscript.
//
#if 0
case json_type::null: r = value (names {}); break;
@@ -2085,7 +2085,7 @@ namespace build2
? json_subscript_impl (val, val_data, i, n, index).first
: value ());
- // Typify null values so that we get called for nested subscripts.
+ // Typify null values so that we get called for chained subscripts.
//
if (r.null)
r.type = &value_traits<json_value>::value_type;