|
From: | Andrew Janke |
Subject: | [Octave-bug-tracker] [bug #55995] "continue" is dynamically, not lexically scoped - callable from functions without for loops |
Date: | Tue, 26 Mar 2019 12:15:37 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36 |
Follow-up Comment #8, bug #55995 (project octave): That was fast! Works for me as expected with a fresh build of default. $ octave-default octave:1> ls call_break.m looper.m other_fcn.m octave:2> looper before parse error near line 2 of file /Users/janke/tmp/octave-continue/other_fcn.m continue must appear in a loop in the same file as loop command >>> continue ^ error: called from looper at line 4 column 5 octave:2> continue parse error: continue must appear in a loop in the same file as loop command >>> continue ^ octave:2> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55995> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |