octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names
Date: Thu, 2 Jun 2022 08:23:14 -0400 (EDT)

Follow-up Comment #12, bug #62552 (project octave):

Oops. You are right. Also removing the whitespace before the operator also
avoids the issue.
Is the following change better?

diff -r 28d63e8bcaa7 etc/NEWS.7.md
--- a/etc/NEWS.7.md     Thu Jun 02 11:07:54 2022 +0200
+++ b/etc/NEWS.7.md     Thu Jun 02 14:21:05 2022 +0200
@@ -87,9 +87,11 @@
 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.
+`*=`, `.*=`, `/=`, `./=`, `\=`, `.\=`, `^=`, `.^=`, `|=`, `&=`) and
+binary operators (`+`, `-`, `*`, `.*`, `/`, `./`, `\`, `.\`, `^`, `.^`,
+`|`, `&`, `||`, `&&`) must now either be followed by a whitespace
+character or must not be preceeded 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




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62552>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]