[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60941] Whitespace now causes parse error for
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #60941] Whitespace now causes parse error for postfix increment / decrement operators |
Date: |
Fri, 20 Aug 2021 17:07:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Follow-up Comment #4, bug #60941 (project octave):
Should we mark this as Won't Fix? Seems like we had to change the parser to
more closely support Matlab command syntax, and this isn't something we have
freedom on.
Also, although you could do it before, it's pretty bad from a
legibility-of-code perspective not to tie the increment/decrement operators to
the variable they are operating on. Something like
a ++ b
could be interpreted as a postfix increment of variable 'a', a prefix
increment of variable 'b', or 'a' plus '+b'.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60941>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #60941] Whitespace now causes parse error for postfix increment / decrement operators,
Rik <=