From 9c3d872426871024d9b601f65698bf5d30466d20 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 24 Mar 2018 13:37:32 +0200 Subject: Fix bug in '--' handling --- build2/b-options.ixx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/b-options.ixx') 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 + 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) { } -- cgit v1.1