aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/script.hxx
diff options
context:
space:
mode:
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&,