aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-15 15:00:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-15 15:00:25 +0200
commit497793c854b9dfbf70c2c23813b6b7f06012bcc2 (patch)
treebe2ec7600889314efbaef22037c094e32b3af6e5 /libbuild2/config
parent417497632ddfa2bdc17688703c24ca3fd60af318 (diff)
Generalize attributes to be comma-separated with arbitrary values
Before: x = [string null] After: x = [string, null]
Diffstat (limited to 'libbuild2/config')
-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 944070b..9f241e8 100644
--- a/libbuild2/config/operation.cxx
+++ b/libbuild2/config/operation.cxx
@@ -43,7 +43,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), true /* quote */, '@');
ofs << endl;
ofs.close ();
@@ -72,7 +72,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), true /* quote */, '@');
ofs << endl;
ofs.close ();
@@ -464,7 +464,7 @@ namespace build2
else
{
os << " = ";
- to_stream (os, ns, true, '@'); // Quote.
+ to_stream (os, ns, true /* quote */, '@');
}
os << endl;