Mercurial > hg > octave-nkf
comparison scripts/miscellaneous/warning_ids.m @ 12575:d0b799dafede
Grammarcheck files for 3.4.1 release.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 04 Apr 2011 15:33:46 -0700 |
parents | 32279948bf3b |
children | a1e386b9ef4b |
comparison
equal
deleted
inserted
replaced
12574:89604fa96d2f | 12575:d0b799dafede |
---|---|
110 ## warning is enabled. | 110 ## warning is enabled. |
111 ## | 111 ## |
112 ## @item Octave:autoload-relative-file-name | 112 ## @item Octave:autoload-relative-file-name |
113 ## If the @code{Octave:autoload-relative-file-name} is enabled, | 113 ## If the @code{Octave:autoload-relative-file-name} is enabled, |
114 ## Octave will warn when parsing autoload() function calls with relative | 114 ## Octave will warn when parsing autoload() function calls with relative |
115 ## paths to function files. This usually happens when using autoload() | 115 ## paths to function files. This usually happens when using autoload() |
116 ## calls in PKG_ADD files, when the PKG_ADD file is not in the same | 116 ## calls in PKG_ADD files, when the PKG_ADD file is not in the same |
117 ## directory as the .oct file referred to by the autoload() command. | 117 ## directory as the .oct file referred to by the autoload() command. |
118 ## By default, the @code{Octave:autoload-relative-file-name} | 118 ## By default, the @code{Octave:autoload-relative-file-name} |
119 ## warning is enabled. | 119 ## warning is enabled. |
120 ## | 120 ## |
199 ## | 199 ## |
200 ## @item Octave:possible-matlab-short-circuit-operator | 200 ## @item Octave:possible-matlab-short-circuit-operator |
201 ## If the @code{Octave:possible-matlab-short-circuit-operator} warning | 201 ## If the @code{Octave:possible-matlab-short-circuit-operator} warning |
202 ## is enabled, Octave will warn about using the not short circuiting | 202 ## is enabled, Octave will warn about using the not short circuiting |
203 ## operators @code{&} and @code{|} inside @code{if} or @code{while} | 203 ## operators @code{&} and @code{|} inside @code{if} or @code{while} |
204 ## conditions. They normally never short circuit, but @sc{Matlab} always | 204 ## conditions. They normally never short circuit, but @sc{matlab} always |
205 ## short circuits if any logical operators are used in a condition. You | 205 ## short circuits if any logical operators are used in a condition. You |
206 ## can turn on the option | 206 ## can turn on the option |
207 ## | 207 ## |
208 ## @example | 208 ## @example |
209 ## @group | 209 ## @group |
210 ## do_braindead_shortcircuit_evaluation(1) | 210 ## do_braindead_shortcircuit_evaluation(1) |
211 ## @end group | 211 ## @end group |
212 ## @end example | 212 ## @end example |
213 ## | 213 ## |
214 ## @noindent | 214 ## @noindent |
215 ## if you would like to enable this short-circuit evaluation in | 215 ## if you would like to enable this short-circuit evaluation in |
216 ## Octave. Note that the @code{&&} and @code{||} operators always short | 216 ## Octave. Note that the @code{&&} and @code{||} operators always short |
217 ## circuit in both Octave and @sc{Matlab}, so it's only necessary to | 217 ## circuit in both Octave and @sc{matlab}, so it's only necessary to |
218 ## enable @sc{Matlab}-style short-circuiting it's too arduous to modify | 218 ## enable @sc{matlab}-style short-circuiting it's too arduous to modify |
219 ## existing code that relies on this behaviour. | 219 ## existing code that relies on this behaviour. |
220 ## | 220 ## |
221 ## @item Octave:precedence-change | 221 ## @item Octave:precedence-change |
222 ## If the @code{Octave:precedence-change} warning is enabled, Octave | 222 ## If the @code{Octave:precedence-change} warning is enabled, Octave |
223 ## will warn about possible changes in the meaning of some code due to | 223 ## will warn about possible changes in the meaning of some code due to |