aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/script.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/script/script.hxx
parent30da2a90b3d433160c06643fb7ca51722fbae6b8 (diff)
Add buildscript depdb builtin 'env' command
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r--libbuild2/script/script.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx
index b4cb7fc..dd31e33 100644
--- a/libbuild2/script/script.hxx
+++ b/libbuild2/script/script.hxx
@@ -569,14 +569,15 @@ namespace build2
// Helpers.
//
- // Issue diagnostics with the specified prefix and fail if the string is
- // not a valid variable name or assignment (empty, etc).
+ // Issue diagnostics with the specified prefix and fail if the string
+ // (potentially an option value) is not a valid variable name or
+ // assignment (empty, etc).
//
void
verify_environment_var_name (const string&,
- const char* opt,
const char* prefix,
- const location&);
+ const location&,
+ const char* opt = nullptr);
void
verify_environment_var_assignment (const string&,