From 0ccdb079856c9dc363dc588effb2a3b2f728ba41 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 26 Aug 2019 12:16:30 +0200 Subject: Improve diagnostics --- libbuild2/parser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. } -- cgit v1.1