aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-10 12:07:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:42 +0200
commit92b98aee1eb9f9550634720b96eec0be1831ebb7 (patch)
tree8118c44dca4f890eca142ba0fc1ae686965a04b7
parentabccaf9596461215fce0e32322133fb6c39be44f (diff)
Cosmetic changes
-rw-r--r--build2/variable10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/variable b/build2/variable
index aa554fe..e78b074 100644
--- a/build2/variable
+++ b/build2/variable
@@ -1218,13 +1218,13 @@ namespace build2
// In many places we assume that we can store a reference to the returned
// variable value (e.g., install::lookup_install()). As a result, in case
- // of append/prepent where we calculate the value dynamically, we have to
- // cache it.
+ // of append/prepend where we calculate the value dynamically, we have to
+ // cache it (note, however, that if the value becomes stale, there is no
+ // guarantee the references remain valid).
//
- // The key is the combination of the "original value idenity" (as a
+ // The key is the combination of the "original value identity" (as a
// pointer to the value in variable_pattern_map) and the "target identity"
- // (as target type and target name). The target name, unfortunately, has
- // to be stored by value (maybe will pool them at some point).
+ // (as target type and target name).
//
// @@ MT
//