aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dump.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-05-09 15:05:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-05-09 15:37:47 +0200
commita0628f5c2968d6bb904c52f9a06a16c679f92e70 (patch)
tree5678a459bf3f3619a798a5944624578096a6f16e /libbuild2/dump.cxx
parentb5d143f529e4ebbeb7a1746312e38da815e2e321 (diff)
Document JSON dump format (GH issue #182)
Diffstat (limited to 'libbuild2/dump.cxx')
-rw-r--r--libbuild2/dump.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/dump.cxx b/libbuild2/dump.cxx
index ca7254a..9b7f5b1 100644
--- a/libbuild2/dump.cxx
+++ b/libbuild2/dump.cxx
@@ -943,7 +943,7 @@ namespace build2
{
string name; // Quoted/qualified name.
string display_name;
- string type;
+ string type; // Target type.
//string declaration;
optional<string> group; // Quoted/qualified group target name.
@@ -980,7 +980,7 @@ namespace build2
//string declaration;
optional<string> group;
- optional<path> path; // Absent of not path-based target, not assigned.
+ optional<path> path; // Absent if not path-based target, not assigned.
vector<variable> variables;
@@ -1371,9 +1371,9 @@ namespace build2
#if 0
struct scope
{
- // The out_path member is relative to parent scopes. It is empty for the
- // special global scope. The src_path member is absent if the same as
- // out_path (in-source build or scope outside of project).
+ // The out_path member is relative to the parent scope. It is empty for
+ // the special global scope. The src_path member is absent if the same
+ // as out_path (in-source build or scope outside of project).
//
string out_path;
optional<string> src_path;