aboutsummaryrefslogtreecommitdiff
path: root/libbbot/build-config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-06-20 20:33:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-06-21 13:09:10 +0300
commit5c186f901ea7d1b09ab551a3fd2a6c1fd2426d59 (patch)
treeaa41f235d3ef632c481390745bc0d589bd9c554e /libbbot/build-config.hxx
parent4ef51955f2c0c2da17bb922d52fd39eae0bf4464 (diff)
Add support for build configuration warning-detecting regexes
Diffstat (limited to 'libbbot/build-config.hxx')
-rw-r--r--libbbot/build-config.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbbot/build-config.hxx b/libbbot/build-config.hxx
index 2e96e03..363b889 100644
--- a/libbbot/build-config.hxx
+++ b/libbbot/build-config.hxx
@@ -30,6 +30,10 @@ namespace bbot
butl::optional<butl::target_triplet> target;
std::vector<std::string> vars;
+
+ // Warning-detecting regular expressions.
+ //
+ std::vector<std::string> warning_regexes;
};
using build_configs = std::vector<build_config>;
@@ -39,7 +43,7 @@ namespace bbot
//
// buildtab consists of lines in the following format:
//
- // <machine-name-pattern> <config-name> [<target>] [<config-vars>]
+ // <machine-pattern> <config> [<target>] [<config-vars>] [<warning-regex>]
//
using butl::tab_parsing;