From 8ad62d6b00adf657ef7b468778a0964007aca383 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Mar 2017 14:47:57 +0300 Subject: Fix diagnostics interleaving characters --- build2/test/script/parser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/test/script/parser.cxx') diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx index 0555f2f..d6d77fe 100644 --- a/build2/test/script/parser.cxx +++ b/build2/test/script/parser.cxx @@ -2881,7 +2881,8 @@ namespace build2 } catch (const std::exception& e) { - *diag_stream << "unhandled exception: " << e; + diag_lock l; + *diag_stream << "unhandled exception: " << e << endl; assert (false); abort (); } -- cgit v1.1