Mercurial > hg > octave-nkf
changeset 11550:a9be431c1595
write function name along with filename in docstring comments
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 16 Jan 2011 16:53:10 -0500 |
parents | beb4f0f27a32 |
children | 84fa2ba414ee |
files | scripts/ChangeLog scripts/gethelp.cc src/ChangeLog src/mkgendoc |
diffstat | 4 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2011-01-16 John W. Eaton <jwe@octave.org> + + * gethelp.cc (main): Write function name along with file name in + comment. + 2011-01-16 David Bateman <dbateman@free.fr> * plot/__go_draw_axes__.m: Use "{}" as the default font.
--- a/scripts/gethelp.cc +++ b/scripts/gethelp.cc @@ -149,7 +149,7 @@ if (! help_text.empty ()) { std::cout << "" << name << "\n" - << "@c " << file_name << "\n" + << "@c " << name << " " << file_name << "\n" << help_text; if (help_text[help_text.length () - 1] != '\n')