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

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

[Octave-bug-tracker] [bug #45092] lexer panic from syntax error in M-fil


From: Rik
Subject: [Octave-bug-tracker] [bug #45092] lexer panic from syntax error in M-file
Date: Wed, 13 May 2015 20:57:05 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #5, bug #45092 (project octave):

According to the documentation for functions()


    *Warning:* `functions' is provided for debugging purposes only.
     It's behavior may change in the future and programs should not
     depend on a particular output.


So the quick and obvious thing to do would be to change the field name to
something that is not 'function'.  In fact, I think this would be clearer. 
Again, according to the documentation,


 -- Built-in Function: S = functions (FCN_HANDLE)
     Return a structure containing information about the function handle
     FCN_HANDLE.

     The structure S always contains these three fields:

    function
          The function name.  For an anonymous function (no name) this
          will be the actual function definition.


I propose using a field called 'fcnname' or 'name' or 'fcn_name' or maybe
'fname' but that last one looks like filename.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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