aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-23 12:25:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-23 12:28:13 +0300
commit6cb0dc0ffbf6fe4b7fc41256101bd71b1e8c56be (patch)
treec728b4765a2ba290798f4fe20afa927075e4c81f /libbpkg/manifest.hxx
parent3de5120d299a5e17c9c17dfd2bfc4bb4e6340941 (diff)
Add support for comments in dependency clauses block
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index a3415cc..2faf104 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -516,6 +516,12 @@ namespace bpkg
// <reflect-config> - buildfile fragment containing dependent package
// configuration variables assignments
//
+ // In the multi-line form the block may contain comments besides the
+ // clauses. The '#' character starts a single-line comment which spans
+ // until the end of the line. Unless it is followed with '\' followed by
+ // the newline in which case this is a multi-line comment which spans
+ // until the closing '#\' is encountered.
+ //
// The dependency alternative is only considered by bpkg if the enable
// condition evaluates to true. If the enable clause is not specified, then
// it is always considered.