Mercurial > octave
changeset 29926:6a39ac893c9d
note future change for backslash operator
* lex.ll ("\\"): Add comment explaining how to handle the backslash
operator once backslashes are no longer handled as line continuation
markers outside of character strings.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Jul 2021 07:19:31 -0400 |
parents | 53de043ea532 |
children | 6a8642d310c8 |
files | libinterp/parse-tree/lex.ll |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll Wed Jul 28 21:28:20 2021 +0200 +++ b/libinterp/parse-tree/lex.ll Wed Jul 28 07:19:31 2021 -0400 @@ -1666,6 +1666,12 @@ %} "\\" { + // FIXME: After backslash is no longer handled as a line + // continuation marker outside of character strings, this + // action may be replaced with + // + // CMD_OR_OP ("\\", LEFTDIV, true); + curr_lexer->lexer_debug ("\\"); return curr_lexer->handle_op (LEFTDIV);