[Top][All Lists]

[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)

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

octave:3> nested_functions test
parse error near line 8 of file

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

warning: nested functions are coerced into subfunctions in file
error: parse error while reading function file


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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