[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: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names |
Date: |
Fri, 3 Jun 2022 10:11:58 -0400 (EDT) |
Follow-up Comment #31, bug #62552 (project octave):
Yeah, it is long.
Thanks for catching the edit error.
Do you think what I wrote helps with understanding the issues? It seems there
is a lot of confusion about this feature.
It appears that where Octave is doing
if (is_var && is_word_list_cmd ())
error ("%s used as variable and later as function", nm.c_str ());
Matlab is now doing something like
if (is_word_list_cmd ())
{
// Search for function only since this appears to be a command-style
function call. If a function is found, call it with remaining arguments. If
not found, error with "unrecognized function or variable" message.
}
That explains their error message.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62552>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, (continued)
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/02
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/02
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/02
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Arun Giridhar, 2022/06/02
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Nicholas Jankowski, 2022/06/02
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, John W. Eaton, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, John W. Eaton, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names,
John W. Eaton <=
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Nicholas Jankowski, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Arun Giridhar, 2022/06/03
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/04
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Nicholas Jankowski, 2022/06/04
- [Octave-bug-tracker] [bug #62552] In-place operator spacing works for 'i' and 'j', but not other variable names, Markus Mützel, 2022/06/05