|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #58945] Octave parser allows keyword 'end' as a function parameter |
| Date: | Wed, 2 Sep 2020 20:55:48 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 |
Update of bug #58945 (project octave):
Status: Ready For Test => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #4:
This now correctly throws an error so I'm going to close this report. I do
notice that the carat that indicates where the error has occurred seems to be
unrelated to where the actual error occurs, but that's pretty minor.
octave:1> fend (1:10)
error: parse error near line 1 of file
/home/rik/wip/Projects_Mine/octave-dev/fend.m
invalid use of keyword 'end' in parameter list
>>> function y = fend (end)
^
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58945>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |