comparison scripts/miscellaneous/warning_ids.m @ 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 059a05bc398c
children e51473fdb622
comparison
equal deleted inserted replaced
19885:059a05bc398c 19886:e9a0bd0b125c
159 ## @item Octave:imag-to-real 159 ## @item Octave:imag-to-real
160 ## If the @code{Octave:imag-to-real} warning is enabled, a warning is 160 ## If the @code{Octave:imag-to-real} warning is enabled, a warning is
161 ## printed for implicit conversions of complex numbers to real numbers. 161 ## printed for implicit conversions of complex numbers to real numbers.
162 ## By default, the @code{Octave:imag-to-real} warning is disabled. 162 ## By default, the @code{Octave:imag-to-real} warning is disabled.
163 ## 163 ##
164 ## @item Octave:language-extension
165 ## Print warnings when using features that are unique to the Octave
166 ## language and may be still be missing in @sc{Matlab}.
167 ## By default, the @code{Octave:language-extension} warning is disabled.
168 ## The --traditional or --braindead startup options for Octave may also
169 ## be of use, @pxref{Command Line Options}.
170 ##
164 ## @item Octave:load-file-in-path 171 ## @item Octave:load-file-in-path
165 ## By default, the @code{Octave:load-file-in-path} warning is enabled. 172 ## By default, the @code{Octave:load-file-in-path} warning is enabled.
166 ## 173 ##
167 ## @item Octave:logical-conversion 174 ## @item Octave:logical-conversion
168 ## By default, the @code{Octave:logical-conversion} warning is enabled. 175 ## By default, the @code{Octave:logical-conversion} warning is enabled.
169 ##
170 ## @item Octave:matlab-incompatible
171 ## Print warnings for Octave language features that may cause
172 ## compatibility problems with @sc{matlab}.
173 ## By default, the @code{Octave:matlab-incompatible} warning is disabled.
174 ## The --traditional or --braindead startup options for Octave may also
175 ## be of use, @pxref{Command Line Options}.
176 ## 176 ##
177 ## @item Octave:md5sum-file-in-path 177 ## @item Octave:md5sum-file-in-path
178 ## By default, the @code{Octave:md5sum-file-in-path} warning is enabled. 178 ## By default, the @code{Octave:md5sum-file-in-path} warning is enabled.
179 ## 179 ##
180 ## @item Octave:missing-glyph 180 ## @item Octave:missing-glyph