From a0628f5c2968d6bb904c52f9a06a16c679f92e70 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 May 2023 15:05:13 +0200 Subject: Document JSON dump format (GH issue #182) --- libbuild2/dump.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbuild2/dump.cxx') 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 group; // Quoted/qualified group target name. @@ -980,7 +980,7 @@ namespace build2 //string declaration; optional group; - optional path; // Absent of not path-based target, not assigned. + optional path; // Absent if not path-based target, not assigned. vector 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 src_path; -- cgit v1.1