diff liboctave/util/cmd-edit.cc @ 28752:810eb29fc227

maint: Use C++ raw string literals to simplify backlsashing. * error.cc, gl2ps-print.cc, strfns.cc, sysdep.cc, audiodevinfo.cc, ov-java.cc, pt-eval.cc, file-stat.cc, cmd-edit.cc: Use C++ raw string literals to simplify backlsashing.
author Rik <rik@octave.org>
date Thu, 17 Sep 2020 10:24:55 -0700
parents bd51beb6205e
children 7854d5752dd2
line wrap: on
line diff
--- a/liboctave/util/cmd-edit.cc	Thu Sep 17 07:42:22 2020 -0700
+++ b/liboctave/util/cmd-edit.cc	Thu Sep 17 10:24:55 2020 -0700
@@ -562,7 +562,7 @@
   char *
   gnu_readline::do_completer_word_break_hook ()
   {
-    static char *dir_sep = octave_strdup_wrapper (" '\"");
+    static char *dir_sep = octave_strdup_wrapper (R"( '")");
 
     std::string word;
     std::string line = get_line_buffer ();