aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/parser.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-04-20 22:48:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-04-21 17:15:28 +0300
commit09c231965f9f8e8f1e86f127a22f112d63ef4d9b (patch)
treee1a8689a0053099719722ba45d35aa33d229fc1e /libbuild2/build/script/parser.hxx
parent30da2a90b3d433160c06643fb7ca51722fbae6b8 (diff)
Add buildscript depdb builtin 'env' command
Diffstat (limited to 'libbuild2/build/script/parser.hxx')
-rw-r--r--libbuild2/build/script/parser.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/libbuild2/build/script/parser.hxx b/libbuild2/build/script/parser.hxx
index b5a45ca..15429e3 100644
--- a/libbuild2/build/script/parser.hxx
+++ b/libbuild2/build/script/parser.hxx
@@ -194,13 +194,16 @@ namespace build2
// The depdb builtin can be used to change the default dependency
// change tracking:
//
- // depdb clear - Cancels the default variables, targets, and
- // prerequisites change tracking. Can only be
- // the first depdb builtin call.
+ // depdb clear - Cancel the default variables, targets, and
+ // prerequisites change tracking. Can only be
+ // the first depdb builtin call.
//
- // depdb hash <args> - Track the argument list change as a hash.
+ // depdb hash <args> - Track the argument list change as a hash.
//
- // depdb string <arg> - Track the argument (single) change as string.
+ // depdb string <arg> - Track the argument (single) change as string.
+ //
+ // depdb env <var-names> - Track the environment variables change as a
+ // hash.
//
optional<location> depdb_clear_; // 'depdb clear' location if any.
lines depdb_preamble_; // Note: excludes 'depdb clear'.