Mercurial > octave
changeset 32914:399bdb5b3b48
maint: Merge stable to default.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Fri, 02 Feb 2024 20:54:35 -0500 |
parents | a3e2bd8d5a78 (current diff) 6fba256defcb (diff) |
children | c96d0470a582 319dcef8962d |
files | libinterp/octave-value/ov.cc |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov.cc Fri Feb 02 11:38:43 2024 -0800 +++ b/libinterp/octave-value/ov.cc Fri Feb 02 20:54:35 2024 -0500 @@ -3702,6 +3702,9 @@ If @var{idx} is an empty structure array with fields @samp{type} and @samp{subs}, return @var{val}. + +The keyword @code{end} cannot be used within @code{subsref} for indexing +assignments. @seealso{subsasgn, substruct} @end deftypefn */) { @@ -3751,6 +3754,9 @@ If @var{idx} is an empty structure array with fields @samp{type} and @samp{subs}, return @var{rhs}. + +The keyword @code{end} cannot be used within @code{subsasgn} for indexing +assignments. @seealso{subsref, substruct, optimize_subsasgn_calls} @end deftypefn */) {
--- a/scripts/miscellaneous/substruct.m Fri Feb 02 11:38:43 2024 -0800 +++ b/scripts/miscellaneous/substruct.m Fri Feb 02 20:54:35 2024 -0500 @@ -47,6 +47,9 @@ ## @result{} 7 8 9 ## @end group ## @end example +## +## Note: The keyword @code{end} cannot be used within @code{subsref} or +## @code{subsasgn} for indexing assignments. ## @seealso{subsref, subsasgn} ## @end deftypefn