Mercurial > octave
diff libinterp/parse-tree/lex.ll @ 29297:cff933892ec2
Deprecate '...' line continuations in double-quoted strings.
* NEWS: Announce deprecation. Clean up wording in a few instances.
* lex.ll: Change warning message to indicate that '...' in double-quoted
strings was deprecated in Octave version 7. Add FIXME note that this code
should be removed in Octave version 9.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 15 Jan 2021 17:06:15 -0800 |
parents | d2ad5e0e5aca |
children | 2034a2ab58d8 |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll Mon Jan 11 20:11:45 2021 +0100 +++ b/libinterp/parse-tree/lex.ll Fri Jan 15 17:06:15 2021 -0800 @@ -1083,7 +1083,8 @@ <DQ_STRING_START>(\.\.\.){S}*{NL} { curr_lexer->lexer_debug ("<DQ_STRING_START>(\\.\\.\\.){S}*{NL}"); - static const char *msg = "'...' continuations in double-quoted character strings are obsolete and will not be allowed in a future version of Octave; please use '\\' instead"; + /* FIXME: Remove support for '...' continuation in Octave 9 */ + static const char *msg = "'...' continuations in double-quoted character strings were deprecated in version 7 and will not be allowed in a future version of Octave; please use '\\' instead"; std::string nm = curr_lexer->m_fcn_file_full_name;