diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-24 13:37:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-24 13:37:32 +0200 |
commit | 9c3d872426871024d9b601f65698bf5d30466d20 (patch) | |
tree | 9845a7ed78b4eeef10bc408e76f6978b16cdbd2a /build2/b-options.ixx | |
parent | 903eeb2c681f2008602bf48265ec628e4fdc9225 (diff) |
Fix bug in '--' handling
Diffstat (limited to 'build2/b-options.ixx')
-rw-r--r-- | build2/b-options.ixx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/b-options.ixx b/build2/b-options.ixx index 7a6f33e..33cb18a 100644 --- a/build2/b-options.ixx +++ b/build2/b-options.ixx @@ -9,6 +9,8 @@ // // End prologue. +#include <cassert> + namespace build2 { namespace cl @@ -160,6 +162,7 @@ namespace build2 option_ (option), options_ (&option_info_), options_count_ (1), + i_ (1), skip_ (false) { option_info_.option = option_.c_str (); @@ -176,6 +179,7 @@ namespace build2 option_ (option), options_ (&option_info_), options_count_ (1), + i_ (1), skip_ (false) { option_info_.option = option_.c_str (); @@ -191,6 +195,7 @@ namespace build2 : argv_scanner (argc, argv, erase), options_ (options), options_count_ (options_count), + i_ (1), skip_ (false) { } @@ -205,6 +210,7 @@ namespace build2 : argv_scanner (start, argc, argv, erase), options_ (options), options_count_ (options_count), + i_ (1), skip_ (false) { } |