'warning_ids' missing?
John W. Eaton
jwe at octave.org
Wed Feb 4 15:11:15 CST 2009
On 4-Feb-2009, Søren Hauberg wrote:
| In a recent checkout I see
|
| octave:1> warning<TAB><TAB>
| warning warning_ids
|
| but if I type 'warning_ids', I get the following error:
|
| error: `warning_ids' undefined near line 1 column 1
|
| Any ideas what's going on?
|
| Søren
|
| P.S. I guess I should mention that I have no files in the current
| directory that are called 'warning_ids'.
The warning_ids.m file should be present in the scripts/miscellaneous
directory.
It is not really a function. It just contains a doc string. So
help warning_ids
should work. It used to, but now I all see is
octave:1> help warning_ids
`warning_ids' is a function
Additional help for built-in functions and operators is
available in the on-line version of the manual. Use the command
`doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the help at octave.org
mailing list.
so for some reason the new help system is not noticing that there is a
doc string in this file. Does it rely on the parser grabbing the help
text? Maybe some recent change I made to the parser broke this.
I see that it does recognize the doc string if there is at least a
statement in the file, but for compatibility with Matlab, Octave
should be able to handle .m files that contain doc strings in a
comment and nothing else.
jwe
More information about the Bug-octave
mailing list