changeset 31052:28d63e8bcaa7 stable

NEWS.7.md: Add note about whitespace after inplace operators (bug #62552).
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 02 Jun 2022 11:07:54 +0200
parents 3a93a77dd4cf
children 34cfde95c5fa 201e29541ef5
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:19:30 2022 -0400
+++ b/etc/NEWS.7.md	Thu Jun 02 11:07:54 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