aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/name.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-24 16:51:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:10:44 +0200
commitaf5fa9e744acf6da12f2eab7f44810195c0d3ecd (patch)
tree3685dda19882b79a20235286f2c8593797d55de6 /libbuild2/name.hxx
parent9c3e14bb61d6fb1da6ada3213e2c4d566ddd5e33 (diff)
Ban conversion of patterns to values
Also improve conversion diagnostic.
Diffstat (limited to 'libbuild2/name.hxx')
-rw-r--r--libbuild2/name.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/name.hxx b/libbuild2/name.hxx
index 3d14976..5c76d07 100644
--- a/libbuild2/name.hxx
+++ b/libbuild2/name.hxx
@@ -146,7 +146,8 @@ namespace build2
// Return string representation of a name.
//
// Note that this function does not quote special characters and you should
- // use the to_stream() function below if this is necessary.
+ // use the to_stream() function below if this is necessary. It also cannot
+ // be used on a name pattern.
//
LIBBUILD2_SYMEXPORT string
to_string (const name&);