aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/name.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-12 10:28:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-12 10:28:29 +0200
commite21f9ae1a3e36160259a449e06ff52692e58b28c (patch)
tree6bbc40255704212d5fabba94afba6d02157657e6 /libbuild2/name.hxx
parent3740ef0a57116e35445379b8cc31868718729889 (diff)
Diagnose typed and project-qualified empty names
Diffstat (limited to 'libbuild2/name.hxx')
-rw-r--r--libbuild2/name.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/name.hxx b/libbuild2/name.hxx
index b25a3e3..8385e7c 100644
--- a/libbuild2/name.hxx
+++ b/libbuild2/name.hxx
@@ -27,8 +27,8 @@ namespace build2
// empty, then it means the name is in a project other than our own (e.g.,
// it is installed).
//
- // A type or project can only be specified if either directory or value are
- // not empty.
+ // A type can only be specified if either directory or value are not empty.
+ // We allow project-qualified empty names for reversibility.
//
// If pair is not '\0', then this name and the next in the list form a
// pair. Can be used as a bool flag.