[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47676] Error applying multiplication-assignme
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47676] Error applying multiplication-assignment operator to variable defined in script |
Date: |
Wed, 8 Jun 2016 07:23:35 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
Follow-up Comment #14, bug #47676 (project octave):
I just thought of another approach.
The parser known whether it is treating the string as a variable or a string,
and what the first argument is. If the first argument starts with something
that looks like an operator, it can give a warning that is clearer than
"error: Csb(61,_): but Csb has size 1x1".
Some care would be needed with "/" so that "ls /home/joe" doesn't cause a
warning. I'm not sure that much could be done about "ls /home".
This doesn't solve the problem, but it does avoid the worst part: silently
giving the wrong result.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47676>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47676] Error applying multiplication-assignment operator to variable defined in script,
Lachlan Andrew <=