changeset 31053:34cfde95c5fa

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 02 Jun 2022 11:09:20 +0200
parents 5f015f2829b7 (current diff) 28d63e8bcaa7 (diff)
children 20c9d48487e3
files etc/NEWS.7.md
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS.7.md	Wed Jun 01 17:20:22 2022 -0400
+++ b/etc/NEWS.7.md	Thu Jun 02 11:09:20 2022 +0200
@@ -86,6 +86,11 @@
 between these operators and the variable they affect were allowed.  That
 is no longer the case.
 
+- For compatibility with command syntax, inplace operators (`+=`, `-=`,
+`*=`, `.*=`, `/=`, `./=`, `\=`, `.\=`, `^=`, `.^=`, `|=`, `&=`) must now
+be followed by a whitespace character.  That was not a requirement in
+previous versions of Octave.
+
 - The `mldivide` function (i.e., the `\` operator) now uses an LU
 decomposition to solve nearly singular full square matrices.  This is
 Matlab-compatible and yields results which more nearly minimize `norm