From bf4822a17eed8bdaf9d337caf806c63c82b06a89 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 18 Jul 2017 13:36:04 +0300 Subject: Make buildtab target to be non-optional --- libbbot/build-config.hxx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libbbot/build-config.hxx') diff --git a/libbbot/build-config.hxx b/libbbot/build-config.hxx index 363b889..de78739 100644 --- a/libbbot/build-config.hxx +++ b/libbbot/build-config.hxx @@ -10,7 +10,6 @@ #include #include -#include #include #include @@ -24,14 +23,12 @@ namespace bbot // struct build_config { - std::string machine_pattern; // Machine name pattern. - std::string name; // Configuration name. + std::string machine_pattern; // Machine name pattern. + std::string name; // Configuration name. + butl::target_triplet target; + std::vector vars; // Note: quoting is preserved. - butl::optional target; - - std::vector vars; - - // Warning-detecting regular expressions. + // Warning-detecting regular expressions. Note that quoting is preserved. // std::vector warning_regexes; }; @@ -43,7 +40,7 @@ namespace bbot // // buildtab consists of lines in the following format: // - // [] [] [] + // [] [] // using butl::tab_parsing; -- cgit v1.1