Mercurial > octave
diff libinterp/corefcn/sparse-xdiv.cc @ 23804:8057d3f0673d
Use C++11 raw string literals to avoid escaping backslashes in strings.
* file-editor-tab.cc, octave-qscintilla.cc, graphics.cc, help.cc, input.cc,
oct-stream.cc, regexp.cc, sparse-xdiv.cc, sysdep.cc, utils.cc, xdiv.cc,
ov-java.cc, ov.cc, file-ops.cc, lo-sysdep.cc, oct-env.cc, mkoctfile.in.cc,
shared-fcns.h:
Replace regular strings containing "\\" patterns with R"(...\...)".
author | Rik <rik@octave.org> |
---|---|
date | Fri, 28 Jul 2017 11:19:36 -0700 |
parents | c9fab0bc983e |
children | 194eb4bd202b |
line wrap: on
line diff
--- a/libinterp/corefcn/sparse-xdiv.cc Fri Jul 28 10:34:33 2017 -0700 +++ b/libinterp/corefcn/sparse-xdiv.cc Fri Jul 28 11:19:36 2017 -0700 @@ -59,7 +59,7 @@ octave_idx_type a_nc = a.cols (); octave_idx_type b_nc = b.cols (); - octave::err_nonconformant ("operator \\", a_nr, a_nc, b_nr, b_nc); + octave::err_nonconformant (R"(operator \)", a_nr, a_nc, b_nr, b_nc); } return true;