changeset 22505:7bdc80232cdc

Expand warning for '\' continuation marker to recommend "..." (bug #48810). * lex.ll: Change warning message string for '\' continuation marker outside of double quotes to mention replacement "...".
author Rik <rik@octave.org>
date Fri, 16 Sep 2016 11:52:25 -0700
parents 2aa9e8893ea9
children 84bd1f3c3ee1
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Fri Sep 16 09:22:33 2016 -0700
+++ b/libinterp/parse-tree/lex.ll	Fri Sep 16 11:52:25 2016 -0700
@@ -1216,7 +1216,7 @@
 \\{S}*{CCHAR}{ANY_EXCEPT_NL}*{NL} {
     curr_lexer->lexer_debug ("\\\\{S}*{NL}|\\\\{S}*{CCHAR}{ANY_EXCEPT_NL}*{NL}");
 
-    static const char *msg = "using continuation marker \\ outside of double quoted strings is deprecated and will be removed in a future version of Octave";
+    static const char *msg = "using continuation marker \\ outside of double quoted strings is deprecated and will be removed from a future version of Octave, use ... instead";
 
     std::string nm = curr_lexer->fcn_file_full_name;