aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/script.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-05-20 23:05:10 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2020-05-27 08:38:57 +0200
commit84cc0fc42c6b86eb09b06c7f59a0beb94397a38a (patch)
treec16c2bcbb6dff26101b700bd3b338eed29512027 /libbuild2/script/script.hxx
parent7765f51c5f6429fcb45a6c195b71929c392b0a31 (diff)
Complete dump(ostream,script::lines)
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r--libbuild2/script/script.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx
index 7d3fdd0..120cd1d 100644
--- a/libbuild2/script/script.hxx
+++ b/libbuild2/script/script.hxx
@@ -48,6 +48,12 @@ namespace build2
//
using lines = small_vector<line, 1>;
+ // Print the script lines, trying to reproduce their original (non-
+ // expanded) representation.
+ //
+ // Note that the exact spacing and partial quoting may not be restored due
+ // to the information loss.
+ //
LIBBUILD2_SYMEXPORT void
dump (ostream&, const string& ind, const lines&);