aboutsummaryrefslogtreecommitdiff
path: root/build2/b-options.cxx
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.cxx
parent930ae81f85e5ee5ac37311f5e9c89000fbcb59a6 (diff)
Regenerate options parsing code
Diffstat (limited to 'build2/b-options.cxx')
-rw-r--r--build2/b-options.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/b-options.cxx b/build2/b-options.cxx
index a7a348f..4c8e63b 100644
--- a/build2/b-options.cxx
+++ b/build2/b-options.cxx
@@ -216,6 +216,8 @@ namespace build2
// argv_file_scanner
//
+ int argv_file_scanner::zero_argc_ = 0;
+
bool argv_file_scanner::
more ()
{
@@ -462,7 +464,6 @@ namespace build2
using namespace std;
const char* o (s.next ());
-
if (s.more ())
{
string v (s.next ());