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

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

[Octave-bug-tracker] [bug #41723] Local functions in classdef files


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #41723] Local functions in classdef files
Date: Wed, 05 Mar 2014 15:56:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130917 Firefox/17.0 Iceweasel/17.0.9

Follow-up Comment #3, bug #41723 (project octave):

I'm pretty sure the issue is that Octave is not expecting there to be anything
but comments and whitespace in the file after the END that matches CLASSDEF.

I didn't know that classdef files could define any functions outside of the
classdef block.

Fixing the parsing problem will be fairly simple.  Fixing the lookup rules so
that these functions behave as private functions that are only visible to
other functions defined in the classdef file will probably require more work.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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