aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-09 15:10:56 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-11 14:31:39 +0300
commit32f153664e7b6cadfb518b83e12b9768a150d709 (patch)
tree706d683404d412e29e4cbd4640ce8b2780689c65 /libbuild2/build/script
parentec16a07c4bc3f3552ba5b4d09d3c5c375fb19e35 (diff)
Prefix pseudo-builtin diagnostincs messages with their names
Diffstat (limited to 'libbuild2/build/script')
-rw-r--r--libbuild2/build/script/script.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/build/script/script.cxx b/libbuild2/build/script/script.cxx
index e003b6a..14dd9e1 100644
--- a/libbuild2/build/script/script.cxx
+++ b/libbuild2/build/script/script.cxx
@@ -253,8 +253,9 @@ namespace build2
set_timeout (const string& t, bool success, const location& l)
{
fragment_deadline =
- to_deadline (parse_deadline (t, "buildscript timeout", l),
- success);
+ to_deadline (
+ parse_deadline (t, "buildscript timeout", "timeout: ", l),
+ success);
}
optional<deadline> environment::