aboutsummaryrefslogtreecommitdiff
path: root/build/config/utility
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-25 13:41:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-25 13:41:19 +0200
commit95239b7c5404965d4f5ef997b5b75bf542a25192 (patch)
tree1b4fc6229723babffa7c5d56ee0c2eae24215535 /build/config/utility
parentf56b5a42b9aaaeb0c4e7dee894dea9686599b88c (diff)
Part one of dependency injection with auto-generation support
Diffstat (limited to 'build/config/utility')
-rw-r--r--build/config/utility2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/config/utility b/build/config/utility
index 3da990f..403a91e 100644
--- a/build/config/utility
+++ b/build/config/utility
@@ -53,7 +53,7 @@ namespace build
{
for (const name& n: val.template as<const list_value&> ())
{
- if (!n.type.empty () || !n.dir.empty ())
+ if (!n.simple ())
fail << "expected option instead of " << n <<
info << "in variable " << var;