octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32083] nested functions and developers source


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #32083] nested functions and developers sources
Date: Sun, 09 Jan 2011 17:58:23 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.231 Safari/534.10

Follow-up Comment #1, bug #32083 (project octave):

... trying a 2nd time.

With the following nested function ... 


function nested_functions (txt)
 subfun1 (txt)
 function subfun1 (txt)
   disp (txt)
 end
end


I get an error with the nested functions are coerced into unnested
subfunctions.


octave:3> nested_functions test
parse error near line 8 of file
/Users/bpabbott/Development/git/matlab2tikz/src/nested_functions.m

 inconsistent function endings -- if one function is explicitly ended, so
must all the others

warning: nested functions are coerced into subfunctions in file
/Users/bpabbott/Development/git/matlab2tikz/src/nested_functions.m
error: parse error while reading function file
/Users/bpabbott/Development/git/matlab2tikz/src/nested_functions.m


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32083>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]