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

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

[Octave-bug-tracker] [bug #60882] error parsing command syntax


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60882] error parsing command syntax
Date: Wed, 21 Jul 2021 12:15:43 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.70

Follow-up Comment #23, bug #60882 (project octave):

Thanks.
That might be the best way forward.

With Octave 6, `x --` was interpreted as decrement operation.
IIUC, the same syntax will be interpreted as command syntax in Octave 7. This
might break code that currently uses something like that.
I gather there is no easy way to deprecate that syntax for a few versions
before we finally change its meaning.

IIUC, syntax like that can be fixed easily by removing the whitespace (`x--`)
or by forcing it to an expression (e.g. with `(x --)`). That should have the
same meaning in Octave 6 and in Octave 7.

Is there a way we can reach out to users and developers (e.g. of Octave Forge
packages) to give them some head start of that upcoming change?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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