|
| 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: | Sat, 4 Jun 2022 10:17:11 -0400 (EDT) |
Follow-up Comment #35, bug #62552 (project octave):
I'm attaching a changeset for the error message in these cases.
With it, I see:
octave:1> a = 2
a = 2
octave:2> a test
error: variable "a" used as function in command style expression
octave:3> a +2
error: variable "a" used as function in command style expression
Check whitespace around potential binary operator.
octave:4>
Are these messages more helpful?
(file #53273)
_______________________________________________________
Additional Item Attachment:
File name: bug62552-var-as-fcn-error-msg.patch Size:1 KB
<https://file.savannah.gnu.org/file/bug62552-var-as-fcn-error-msg.patch?file_id=53273>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62552>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |