aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-02 13:07:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-02 13:07:57 +0200
commite5a571d28f5ae7d78871ffdd16285aca9188ef83 (patch)
tree3eb0dae2e806addb0b5a596c538f3723acc9d71f /build2/b-options.hxx
parent930ae81f85e5ee5ac37311f5e9c89000fbcb59a6 (diff)
Regenerate options parsing code
Diffstat (limited to 'build2/b-options.hxx')
-rw-r--r--build2/b-options.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/b-options.hxx b/build2/b-options.hxx
index c745025..3e10901 100644
--- a/build2/b-options.hxx
+++ b/build2/b-options.hxx
@@ -298,6 +298,9 @@ namespace build2
const std::string& option,
bool erase = false);
+ argv_file_scanner (const std::string& file,
+ const std::string& option);
+
struct option_info
{
// If search_func is not NULL, it is called, with the arg
@@ -322,6 +325,10 @@ namespace build2
std::size_t options_count,
bool erase = false);
+ argv_file_scanner (const std::string& file,
+ const option_info* options = 0,
+ std::size_t options_count = 0);
+
virtual bool
more ();
@@ -356,6 +363,8 @@ namespace build2
std::size_t i_;
bool skip_;
+
+ static int zero_argc_;
};
template <typename X>