Mercurial > octave-nkf
comparison scripts/miscellaneous/warning_ids.m @ 7016:93c65f2a5668
[project @ 2007-10-12 06:40:56 by jwe]
author | jwe |
---|---|
date | Fri, 12 Oct 2007 06:41:26 +0000 |
parents | 69e864d21c11 |
children | a1dbe9d80eee |
comparison
equal
deleted
inserted
replaced
7015:0a708692d51d | 7016:93c65f2a5668 |
---|---|
1 ## Copyright (C) 2007 John W. Eaton | |
2 ## | |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7 ## the Free Software Foundation; either version 3 of the License, or (at | |
8 ## your option) any later version. | |
9 ## | |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
16 ## along with Octave; see the file COPYING. If not, see | |
17 ## <http://www.gnu.org/licenses/>. | |
18 | |
1 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
2 ## @table @code | 20 ## @table @code |
3 ## @item Octave:array-to-scalar | 21 ## @item Octave:array-to-scalar |
4 ## If the @code{Octave:array-to-scalar} warning is enabled, Octave will | 22 ## If the @code{Octave:array-to-scalar} warning is enabled, Octave will |
5 ## warn when an implicit conversion from an array to a scalar value is | 23 ## warn when an implicit conversion from an array to a scalar value is |
215 ## If the @code{Octave:variable-switch-label} warning is enabled, Octave | 233 ## If the @code{Octave:variable-switch-label} warning is enabled, Octave |
216 ## will print a warning if a switch label is not a constant or constant | 234 ## will print a warning if a switch label is not a constant or constant |
217 ## expression. By default, the @code{Octave:variable-switch-label} | 235 ## expression. By default, the @code{Octave:variable-switch-label} |
218 ## warning is disabled. | 236 ## warning is disabled. |
219 ## @end table | 237 ## @end table |
220 | |
221 ## FIXME -- we should be able to get formatted help for empty scripts, | |
222 ## not just functions. | |
223 function warning_ids () | |
224 endfunction |