bugGNU Octave - Bugs: bug #43177, braindead_shortcircuit_evaluation...

 
 

bug #43177: braindead_shortcircuit_evaluation enabled per default, doc update needed

Submitter:  Andreas Weber <andy1978>
Submitted:  Tue 09 Sep 2014 08:18:51 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 11 Dec 2014 02:59:26 PM UTC, comment #2: 

The output from warning_ids.m for Octave:possible-matlab-short-circuit-operator still reads as octave would behave differently than matlab (which is not true anymore after d76f790b4eec)

http://hg.savannah.gnu.org/hgweb/octave/file/50d4fd16fb3a/scripts/miscellaneous/warning_ids.m#l233


Anonymous
Sun 21 Sep 2014 06:43:42 PM UTC, comment #1: 

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/cbd55a4e549b

John W. Eaton <jwe>
Group administrator
Tue 09 Sep 2014 08:18:51 AM UTC, original submission:  

Since cset d76f790b4eec do_braindead_shortcircuit_evaluation is enabled per default and deprecated.

The documentation in doc/interpreter/expr.txi should also be updated. Until now it says:

@sc{matlab} has special behavior that allows the operators @samp{&} and
@samp{|} to short-circuit when used in the truth expression for @code{if} and
@code{while} statements.  The Octave parser may be instructed to behave in the
same manner, but its use is strongly discouraged.


Andreas Weber <andy1978>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by andy1978 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-21 jwe StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code