aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/parser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index 5e5b029..ddc26e7 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -1937,7 +1937,8 @@ namespace build2
fail (t) << "unknown target type " << bn;
if (!root_->derive_target_type (move (dn), *bt).second)
- fail (dnl) << "target type " << dn << " already define in this scope";
+ fail (dnl) << "target type " << dn << " already defined in this "
+ << "scope";
next (t, tt); // Get newline.
}