Mercurial > octave-nkf
diff doc/interpreter/container.txi @ 19886:e9a0bd0b125c
Rename 'matlab-incompatible' warning to 'language-extension'.
* libinterp/corefcn/error.cc: replace the 'matlab-incompatible' warning with
'language-extension'. This wording will hopefully make it clear that it does
not stop or prevent Matlab code from running correctly in Octave, it simply
warns about usage of Octave only features.
* libinterp/parse-tree/lex.h, libinterp/parse-tree/lex.ll: throw the new
'language-extension' warning ID. Also, adjust function names to better
reflect the warning name.
* libinterp/corefcn/gripes.cc, libinterp/octave-value/ov-struct.cc,
liboctave/numeric/bsxfun.h: use the new 'language-extension' warning ID.
* scripts/miscellaneous/warning_ids.m: fix warning ID and reword text.
* doc/interpreter/basics.txi, doc/interpreter/container.txi,
scripts/miscellaneous/setfield.m: replace warning ID on documentation.
* NEWS: make note of the change.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 23 Feb 2015 20:43:54 +0000 |
parents | 4197fc428c7d |
children | e78c0514523d |
line wrap: on
line diff
--- a/doc/interpreter/container.txi Sat Feb 21 16:38:53 2015 +0000 +++ b/doc/interpreter/container.txi Mon Feb 23 20:43:54 2015 +0000 @@ -409,7 +409,7 @@ @end example @noindent -The warning id @code{Octave:matlab-incompatible} can be enabled to warn +The warning id @code{Octave:language-extension} can be enabled to warn about this usage. @xref{XREFwarning_ids,,warning_ids}. More realistically, all of the functions that operate on strings can be used