From 497793c854b9dfbf70c2c23813b6b7f06012bcc2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 15 Nov 2019 15:00:25 +0200 Subject: Generalize attributes to be comma-separated with arbitrary values Before: x = [string null] After: x = [string, null] --- libbuild2/config/operation.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/config/operation.cxx') 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; -- cgit v1.1