From f50a3a56b59698ffce3965711898a94e7849aa78 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Nov 2022 07:00:36 +0200 Subject: Complete low verbosity diagnostics rework --- libbuild2/build/script/parser.hxx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libbuild2/build/script/parser.hxx') diff --git a/libbuild2/build/script/parser.hxx b/libbuild2/build/script/parser.hxx index 1328bae..3121320 100644 --- a/libbuild2/build/script/parser.hxx +++ b/libbuild2/build/script/parser.hxx @@ -174,17 +174,18 @@ namespace build2 } // If the diag argument is true, then execute the preamble including - // the (trailing) diagnostics line and return the resulting names (see - // exec_special() for the diagnostics line execution semantics). - // Otherwise, execute the preamble excluding the diagnostics line and - // return an empty names list. If requested, call the runner's enter() - // and leave() functions that initialize/clean up the environment - // before/after the preamble execution. + // the (trailing) diagnostics line and return the resulting names and + // its location (see exec_special() for the diagnostics line execution + // semantics). Otherwise, execute the preamble excluding the + // diagnostics line and return an empty names list and location. If + // requested, call the runner's enter() and leave() functions that + // initialize/clean up the environment before/after the preamble + // execution. // // Note: having both root and base scopes for testing (where we pass // global scope for both). // - names + pair execute_diag_preamble (const scope& root, const scope& base, environment&, const script&, runner&, bool diag, bool enter, bool leave); -- cgit v1.1