aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script/script.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-05-29 15:01:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-29 15:01:15 +0200
commit8a8628cc5ca1ba198e96d7808afc5875a5043bbc (patch)
tree9a5e7b23a6e2c59def5a7d66b568433c375ff351 /libbuild2/build/script/script.hxx
parente19b3b03ec3ba22717cc05854c62ed78c69bb1a4 (diff)
Move low-verbosity command name from adhoc_script_rule to script
Diffstat (limited to 'libbuild2/build/script/script.hxx')
-rw-r--r--libbuild2/build/script/script.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/build/script/script.hxx b/libbuild2/build/script/script.hxx
index 2118568..08cdbd2 100644
--- a/libbuild2/build/script/script.hxx
+++ b/libbuild2/build/script/script.hxx
@@ -37,6 +37,7 @@ namespace build2
class script
{
public:
+
// Note that the variables are not pre-entered into a pool during the
// parsing phase, so the line variable pointers are NULL.
//
@@ -58,6 +59,10 @@ namespace build2
//
bool temp_dir = false;
+ // Command name for low-verbosity diagnostics.
+ //
+ optional<string> diag;
+
location start_loc;
location end_loc;
};