aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--libbuild2/adhoc-rule-buildscript.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index ef283af..c71f9bd 100644
--- a/NEWS
+++ b/NEWS
@@ -15,11 +15,11 @@ Version 0.16.0
If the `diag` builtin is not specified, the default diagnostics is now
equivalent to, for update:
- diag <prog> ($>[0]) -> $<
+ diag <prog> ($<[0]) -> $>
And for other operations:
- diag <prog> $<
+ diag <prog> $>
For details, see the print_diag() API description in diagnostics.hxx. See
also GH issue #40 for additional background/details.
diff --git a/libbuild2/adhoc-rule-buildscript.cxx b/libbuild2/adhoc-rule-buildscript.cxx
index bd61a23..2cec3f3 100644
--- a/libbuild2/adhoc-rule-buildscript.cxx
+++ b/libbuild2/adhoc-rule-buildscript.cxx
@@ -1738,8 +1738,8 @@ namespace build2
// With this approach, the way to re-create the default diagnostics would
// be:
//
- // diag <prog> ($>[0]) -> $<
- // diag <prog> $<
+ // diag <prog> ($<[0]) -> $>
+ // diag <prog> $>
//
auto i (ns.begin ()), e (ns.end ());