diff options
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r-- | libbuild2/parser.hxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx index 0645b5a..3e1d0a0 100644 --- a/libbuild2/parser.hxx +++ b/libbuild2/parser.hxx @@ -136,9 +136,16 @@ namespace build2 // struct config_report { - project_name module; // Reporting module name. - vector<pair<lookup, string>> values; // Config value and format. - bool new_value; // One of values is new. + struct value + { + lookup val; // Value. + string fmt; // Format. + string org; // Original variable if config.report.variable. + }; + + project_name module; // Reporting module name. + vector<value> values; + bool new_value; // One of values is new. }; small_vector<config_report, 1> config_reports; |