From 95239b7c5404965d4f5ef997b5b75bf542a25192 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Jun 2015 13:41:19 +0200 Subject: Part one of dependency injection with auto-generation support --- build/config/utility | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/config/utility') 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 ()) { - if (!n.type.empty () || !n.dir.empty ()) + if (!n.simple ()) fail << "expected option instead of " << n << info << "in variable " << var; -- cgit v1.1