changeset 24509:d8ed90ecd4fd

doc: Add documentation for '\' string continuation marker (bug #52774). * op-kw-docs: Add to docstring for '\' to note that it is also string continuation marker.
author Rik <rik@octave.org>
date Wed, 03 Jan 2018 22:30:54 -0800
parents 85ace8208635
children a2569d574ae5
files libinterp/op-kw-docs
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/op-kw-docs	Wed Jan 03 22:21:03 2018 -0800
+++ b/libinterp/op-kw-docs	Wed Jan 03 22:30:54 2018 -0800
@@ -122,7 +122,7 @@
 @deftypefn {} {} ...
 Continuation marker.
 
-Joins current line with following line.
+Joins current line with following line before parsing.
 @end deftypefn
 &
 @c libinterp/parse-tree/oct-parse.in.yy
@@ -296,6 +296,9 @@
 -*- texinfo -*-
 @deftypefn {} {} \
 Left division operator.
+
+Within double-quoted strings, @samp{\} is the line continuation marker used
+to join the current line with the following line.
 @seealso{.\\, /, ldivide, mldivide}
 @end deftypefn
 :