diff options
Diffstat (limited to 'build/config/utility')
-rw-r--r-- | build/config/utility | 2 |
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; |