aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-02-21 06:51:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-02-21 06:51:45 +0200
commit995cd7946bf605804603fe79c6cef1ddf6db83b5 (patch)
treebf30105941c5fba32ac2e0cc696d6b1146f42c04 /libbuild2/buildfile
parenta7a3cf206851b5896d938efa34a142aa1f0649b0 (diff)
Ban module names that start with underscore
Diffstat (limited to 'libbuild2/buildfile')
-rw-r--r--libbuild2/buildfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/buildfile b/libbuild2/buildfile
index b6c59a5..2fb4bde 100644
--- a/libbuild2/buildfile
+++ b/libbuild2/buildfile
@@ -227,9 +227,12 @@ else
# Generated options parser.
#
-# @@ Consider generating common cli runtime namespace if adding more option
-# files. Plus sommon types-parser.?xx (which could also potentially be
-# reused by the driver).
+# Note that the cli runtime namespace is build2::build::cli rather than
+# build2::cli. That's because the cli namespace inside build2 is reserved for
+# the cli build system module (libbuild2-cli). In fact, every namespace inside
+# build2 is reserved for a potential module and the only namespace names we
+# can use are build (this name, along with import and export, is reserved by
+# the build system core) and names that start with an underscore.
#
if $cli.configured
{