diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-05-20 23:05:10 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-27 08:38:57 +0200 |
commit | 84cc0fc42c6b86eb09b06c7f59a0beb94397a38a (patch) | |
tree | c16c2bcbb6dff26101b700bd3b338eed29512027 /libbuild2/script/script.hxx | |
parent | 7765f51c5f6429fcb45a6c195b71929c392b0a31 (diff) |
Complete dump(ostream,script::lines)
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r-- | libbuild2/script/script.hxx | 6 |
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&); |