aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-26 12:16:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-26 12:16:30 +0200
commit0ccdb079856c9dc363dc588effb2a3b2f728ba41 (patch)
tree067f46862b520a0bea316ab8022b2087c422b071 /libbuild2
parent2e7c961725a6421f3b25b724458f1bd7dce9b125 (diff)
Improve diagnostics
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/parser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index ddc26e7..a7e65dd 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1938,7 +1938,7 @@ namespace build2
if (!root_->derive_target_type (move (dn), *bt).second)
fail (dnl) << "target type " << dn << " already defined in this "
- << "scope";
+ << "project";
next (t, tt); // Get newline.
}