comparison src/mkoctfile.in.cc @ 23803:90689bdbe048

Use C++11 raw string literals to avoid escaping double quotes. * parser.cc, workspace-view.cc, __lin_interpn__.cc, cellfun.cc, colloc.cc, data.cc, dirfns.cc, eig.cc, file-io.cc, find.cc, gammainc.cc, gl2ps-print.cc, graphics.cc, graphics.in.h, help.cc, input.cc, load-path.cc, load-save.cc, oct-hist.cc, oct-stream.cc, pager.cc, pr-output.cc, spparms.cc, symtab.cc, toplev.cc, tril.cc, urlwrite.cc, utils.cc, variables.cc, chol.cc, qr.cc, symbfact.cc, ov-struct.cc, octave.cc, pt-id.h, version.cc, mkoctfile.in.cc: Replace regular strings containing "\"" patterns with R"(..."...)".
author Rik <rik@octave.org>
date Fri, 28 Jul 2017 10:34:33 -0700
parents 9d67bd90681b
children 8057d3f0673d
comparison
equal deleted inserted replaced
23802:3f7226b07a38 23803:90689bdbe048
118 118
119 static std::string 119 static std::string
120 quote_path (const std::string& s) 120 quote_path (const std::string& s)
121 { 121 {
122 if (s.find (' ') != std::string::npos && s[0] != '"') 122 if (s.find (' ') != std::string::npos && s[0] != '"')
123 return "\"" + s + "\""; 123 return '"' + s + '"';
124 else 124 else
125 return s; 125 return s;
126 } 126 }
127 127
128 static void 128 static void