use prefix notation `R"()"` for quote in quotes

parent 6d1c2ca8
Pipeline #2902 passed with stages
in 2 minutes and 27 seconds
......@@ -56,7 +56,7 @@ Driver::parse(const string &file_arg, const string &basename_arg, istream &modfi
// If the input is an array. Issue #1578
command_line_defines_with_endl << "@#define " << var << " = " << val << endl;
else
command_line_defines_with_endl << "@#define " << var << R"( = ")" << val << '"' << endl;
command_line_defines_with_endl << "@#define " << var << R"( = ")" << val << R"(")" << endl;
}
Driver m(env, true);
istream is(command_line_defines_with_endl.rdbuf());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment