changeset 24034:18efaf716530

doc: don't mention do_braindead_shortcircuit_evaluation in warning_ids (bug #51999) * warning_ids.m: Remove outdated block of doc string referring to the do_braindead_shortcircuit_evaluation setting, now removed in Octave 4.4.
author Mike Miller <mtmiller@octave.org>
date Wed, 13 Sep 2017 16:29:18 -0700
parents 631076eab47b
children bc0aa7e18c96
files scripts/help/warning_ids.m
diffstat 1 files changed, 2 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/help/warning_ids.m	Tue Jul 26 16:04:35 2016 +0200
+++ b/scripts/help/warning_ids.m	Wed Sep 13 16:29:18 2017 -0700
@@ -252,22 +252,8 @@
 ## If the @code{Octave:possible-matlab-short-circuit-operator} warning
 ## is enabled, Octave will warn about using the not short circuiting
 ## operators @code{&} and @code{|} inside @code{if} or @code{while}
-## conditions.  They normally never short circuit, but @sc{matlab} always
-## short circuits if any logical operators are used in a condition.  You
-## can turn on the option
-##
-## @example
-## @group
-## do_braindead_shortcircuit_evaluation (1)
-## @end group
-## @end example
-##
-## @noindent
-## if you would like to enable this short-circuit evaluation in
-## Octave.  Note that the @code{&&} and @code{||} operators always short
-## circuit in both Octave and @sc{matlab}, so it's only necessary to
-## enable @sc{matlab}-style short-circuiting if it's too arduous to modify
-## existing code that relies on this behavior.
+## conditions.  They normally never short circuit, but they do short
+## circuit when used in a condition.
 ## By default, the @code{Octave:possible-matlab-short-circuit-operator} warning
 ## is enabled.
 ##