aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-27 12:03:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-27 12:03:31 +0200
commita1ce4025be60560481fbd5bd7c295eafb8db0729 (patch)
treedae063b4b491f4579807ae9515b33943be8041cf /libbuild2/parser.cxx
parent2cc2772263d17a9b2755990d53e992a94d37e29d (diff)
Fix bug in previous commit
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index a4fb17b..68e7ed9 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1769,8 +1769,8 @@ namespace build2
bool new_val (false);
lookup l;
- if (report &&
- report != "false" &&
+ if (report &&
+ *report != "false" &&
name.compare (0, 7, "config.") != 0)
{
if (!as.empty ())