changeset 30454:688742af38bf

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 07 Dec 2021 16:21:36 +0100
parents fa309c2a251a (current diff) 7ecd07721cca (diff)
children 81bb1204f906
files NEWS etc/NEWS.7
diffstat 3 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/expr.txi	Tue Dec 07 15:48:20 2021 +0100
+++ b/doc/interpreter/expr.txi	Tue Dec 07 16:21:36 2021 +0100
@@ -1455,6 +1455,10 @@
 For matrix and vector arguments, the increment and decrement operators
 work on each element of the operand.
 
+The increment and decrement operators must "hug" their corresponding
+variable.  That means, no white spaces are allowed between these
+operators and the variable they affect.
+
 Here is a list of all the increment and decrement expressions.
 
 @table @code
--- a/etc/NEWS.7	Tue Dec 07 15:48:20 2021 +0100
+++ b/etc/NEWS.7	Tue Dec 07 16:21:36 2021 +0100
@@ -76,6 +76,11 @@
 same number of digits for each value such as
 `[0x00_00_01; 0x00_01_00; 0x01_00_00]`.
 
+- The increment and decrement operators `++` and `--` must "hug" their
+corresponding variables.  In previous versions of Octave, whitespaces
+between these operators and the variable they affect were allowed.  That
+is no longer the case.
+
 - 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
--- a/m4/acinclude.m4	Tue Dec 07 15:48:20 2021 +0100
+++ b/m4/acinclude.m4	Tue Dec 07 16:21:36 2021 +0100
@@ -491,7 +491,7 @@
     ac_octave_save_CPPFLAGS="$CPPFLAGS"
     ac_octave_save_CXXFLAGS="$CXXFLAGS"
     CPPFLAGS="$QT_CPPFLAGS $CXXPICFLAG $CPPFLAGS"
-    CXXFLAGS="$CXXPICFLAG $CPPFLAGS"
+    CXXFLAGS="$CXXPICFLAG $CXXFLAGS"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
         #include <QGuiApplication>
         ]], [[
@@ -556,7 +556,7 @@
     ac_octave_save_CPPFLAGS="$CPPFLAGS"
     ac_octave_save_CXXFLAGS="$CXXFLAGS"
     CPPFLAGS="$QT_CPPFLAGS $CXXPICFLAG $CPPFLAGS"
-    CXXFLAGS="$CXXPICFLAG $CPPFLAGS"
+    CXXFLAGS="$CXXPICFLAG $CXXFLAGS"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
         #include <QHelpSearchQueryWidget>
         #include <QString>
@@ -1572,7 +1572,7 @@
     ac_octave_save_CPPFLAGS="$CPPFLAGS"
     ac_octave_save_CXXFLAGS="$CXXFLAGS"
     CPPFLAGS="$QT_CPPFLAGS $CXXPICFLAG $CPPFLAGS"
-    CXXFLAGS="$CXXPICFLAG $CPPFLAGS"
+    CXXFLAGS="$CXXPICFLAG $CXXFLAGS"
     AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
         #include <QHelpLink>
         ]], [[