aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/parser.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-09 17:03:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-09 21:44:23 +0300
commitca97c1e1527e721cae3a1114864da2110b15406a (patch)
tree4db188edbc01e3ebcb74920e52cc6bf8b6846af8 /build2/test/script/parser.cxx
parent13fd92f4c8e4f68bf4f9cc0b7de95e7ee7fe9d82 (diff)
Workaround libc++'s basic_string<line_char> crash
Diffstat (limited to 'build2/test/script/parser.cxx')
-rw-r--r--build2/test/script/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/parser.cxx b/build2/test/script/parser.cxx
index e5f634c..da072dc 100644
--- a/build2/test/script/parser.cxx
+++ b/build2/test/script/parser.cxx
@@ -37,7 +37,7 @@ namespace std
#endif
ostringstream os;
- os << runtime_error (d); // Purify the description.
+ os << runtime_error (d); // Sanitize the description.
string s (os.str ());
if (s.find (' ') != string::npos)
@@ -1328,7 +1328,7 @@ namespace build2
// Create a special empty object.
//
regex_parts ()
- : introducer ('\0'), flags (regex::char_flags()) {}
+ : introducer ('\0'), flags (regex::char_flags ()) {}
regex_parts (string v, char i, regex::char_flags f)
: value (move (v)), introducer (i), flags (f) {}