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

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

[Octave-bug-tracker] [bug #46008] Help function fails to return help hea


From: Rik
Subject: [Octave-bug-tracker] [bug #46008] Help function fails to return help header for nested functions
Date: Thu, 23 Nov 2017 14:07:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #46008 (project octave):

                  Status:         Patch Submitted => Confirmed              
                 Summary: Help function fails to return help header for
subfunctions and nested functions => Help function fails to return help header
for nested functions

    _______________________________________________________

Follow-up Comment #3:

I refreshed the patch to apply against the current development branch and
pushed it here (http://hg.savannah.gnu.org/hgweb/octave/rev/9a1b193ddd01).

The problem with nested functions is trickier.  Attached is a small diff that
I used just for testing.  It shows that, for a nested function, the depth is
correct (goes to 2 rather than 1), but that the help_text is that of the
enclosing function.  It looks like a joint fix with the lexer and parser will
be required to support help for nested functions.

(file #42463)
    _______________________________________________________

Additional Item Attachment:

File name: oct-parse.diff                 Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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