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

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

[Octave-bug-tracker] [bug #65220] get_help_text returns docstring from p


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #65220] get_help_text returns docstring from parent methods
Date: Fri, 2 Feb 2024 23:57:21 -0500 (EST)

Update of bug#65220 (group octave):

                  Status:             In Progress => Ready For Test         

    _______________________________________________________

Follow-up Comment #49:

I pushed the following additional changes:

http://hg.savannah.gnu.org/hgweb/octave/rev/f41297ca3e1a
http://hg.savannah.gnu.org/hgweb/octave/rev/a4dc80b3e13a

Now, Octave should choose the comment above a classdef method as the doc
string if there is no comment inside the function before the first statement
in the function, OR if both comments are present and a '#' is used as a
comment delimiter for either of them (even if it is on just one line of a
multi-line comment).

While working on this problem again, it occurred to me that it would be
possible (but significantly more work) to make this choice based on whether we
notice _any_ language extensions while parsing the entire classdef file, not
just by looking at the comment characters for the two comments that are
candidates to be the doc string.

Marking as ready for test again.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65220>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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