aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-02-16 17:15:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-02-16 22:26:38 +0300
commit7863221ec4af93d9c57644be170aa49ca23c8f7a (patch)
tree04efeb92dfee241cb4b1f4db9c71ccaf77a2c8d4 /libbuild2/config/operation.cxx
parent042de06bcc281832d1eb03c06b85fdca78b76012 (diff)
Invent quoting modes for to_stream(name)
Diffstat (limited to 'libbuild2/config/operation.cxx')
-rw-r--r--libbuild2/config/operation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbuild2/config/operation.cxx b/libbuild2/config/operation.cxx
index 8ceb4d4..2fb0423 100644
--- a/libbuild2/config/operation.cxx
+++ b/libbuild2/config/operation.cxx
@@ -42,7 +42,7 @@ namespace build2
ofs << "# Created automatically by the config module." << endl
<< "#" << endl
<< "src_root = ";
- to_stream (ofs, name (src_root), true /* quote */, '@');
+ to_stream (ofs, name (src_root), quote_mode::normal, '@');
ofs << endl;
ofs.close ();
@@ -71,7 +71,7 @@ namespace build2
ofs << "# Created automatically by the config module." << endl
<< "#" << endl
<< "out_root = ";
- to_stream (ofs, name (out_root), true /* quote */, '@');
+ to_stream (ofs, name (out_root), quote_mode::normal, '@');
ofs << endl;
ofs.close ();
@@ -539,7 +539,7 @@ namespace build2
if (!p.first.empty ())
{
os << ' ';
- to_stream (os, p.first, true /* quote */, '@');
+ to_stream (os, p.first, quote_mode::normal, '@');
}
os << endl;