diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-09 15:22:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-05-09 15:37:51 +0200 |
commit | a933cdeb0c674409bbd52757bcef314fd8bddb46 (patch) | |
tree | 29faa693465406a401a9a741c8637fb546387fa7 /build2/b.cxx | |
parent | a0628f5c2968d6bb904c52f9a06a16c679f92e70 (diff) |
Make quoted/display target names in JSON structured result consistent with dump
Specifically, before we had `target` (display) and `quoted_target` and now
we have `target` (quoted) and `display_target`.
Diffstat (limited to 'build2/b.cxx')
-rw-r--r-- | build2/b.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/b.cxx b/build2/b.cxx index 72c49e9..f0c9338 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -148,15 +148,15 @@ namespace build2 s.begin_object (); - // Display target. + // Quoted target. // s.member_name ("target"); - dump_display_target_name (s, t); + dump_quoted_target_name (s, t); - // Quoted target. + // Display target. // - s.member_name ("quoted_target"); - dump_quoted_target_name (s, t); + s.member_name ("display_target"); + dump_display_target_name (s, t); s.member ("target_type", t.type ().name, false /* check */); |