changeset 29298:2034a2ab58d8

Correct interpreter warning message about using comments after '\` line continuation. lex.ll: Correct interpreter warning message which said that comments were allowed after '\` line continuation (they aren't).
author Rik <rik@octave.org>
date Sat, 16 Jan 2021 10:44:40 -0800
parents cff933892ec2
children 20092ae957da
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 Jan 15 17:06:15 2021 -0800
+++ b/libinterp/parse-tree/lex.ll	Sat Jan 16 10:44:40 2021 -0800
@@ -1101,7 +1101,7 @@
 <DQ_STRING_START>\\{S}+{NL} {
     curr_lexer->lexer_debug ("<DQ_STRING_START>\\\\{S}+{NL}");
 
-    static const char *msg = "white space and comments after continuation markers in double-quoted character strings are obsolete and will not be allowed in a future version of Octave";
+    static const char *msg = "whitespace after continuation markers in double-quoted character strings are obsolete and will not be allowed in a future version of Octave";
 
     std::string nm = curr_lexer->m_fcn_file_full_name;