From 6cb0dc0ffbf6fe4b7fc41256101bd71b1e8c56be Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 23 Jun 2022 12:25:45 +0300 Subject: Add support for comments in dependency clauses block --- libbpkg/manifest.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbpkg/manifest.hxx') 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 // - 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. -- cgit v1.1