aboutsummaryrefslogtreecommitdiff
path: root/build2/functions-regex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/functions-regex.cxx')
-rw-r--r--build2/functions-regex.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/functions-regex.cxx b/build2/functions-regex.cxx
index 76fcce9..9c428fd 100644
--- a/build2/functions-regex.cxx
+++ b/build2/functions-regex.cxx
@@ -29,7 +29,9 @@ namespace build2
// Parse a regular expression. Throw invalid_argument if it is not valid.
//
- static regex
+ // Note: also used in functions-process.cxx (thus not static).
+ //
+ regex
parse_regex (const string& s, regex::flag_type f)
{
try