From e21f9ae1a3e36160259a449e06ff52692e58b28c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 12 Jan 2021 10:28:29 +0200 Subject: Diagnose typed and project-qualified empty names --- libbuild2/name.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/name.hxx') 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. -- cgit v1.1