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:56:54 +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

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

                 Summary: nested functions and developers sources
                 Project: GNU Octave
            Submitted by: bpabbott
            Submitted on: Sun 09 Jan 2011 12:56:53 PM EST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Ben Abbott
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

With the following nested function ...


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

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]