diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-09 17:38:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-07-09 17:38:38 +0200 |
commit | eaefd647ee060651e98f2758337500d13672d338 (patch) | |
tree | 0e11f9f6c9b02cc0f2f795380f61f0416b726a2a /build2/b-options.ixx | |
parent | 650bbe00d3d3693d7cfcc8cb849864016846f04c (diff) |
Regenerate options parsing code
Diffstat (limited to 'build2/b-options.ixx')
-rw-r--r-- | build2/b-options.ixx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/build2/b-options.ixx b/build2/b-options.ixx index 0691f12..0749e4d 100644 --- a/build2/b-options.ixx +++ b/build2/b-options.ixx @@ -86,8 +86,11 @@ namespace build2 // inline invalid_value:: invalid_value (const std::string& option, - const std::string& value) - : option_ (option), value_ (value) + const std::string& value, + const std::string& message) + : option_ (option), + value_ (value), + message_ (message) { } @@ -103,6 +106,12 @@ namespace build2 return value_; } + inline const std::string& invalid_value:: + message () const + { + return message_; + } + // file_io_failure // inline file_io_failure:: |