bugGNU Octave - Bugs: bug #33103, Block comment within cell treated...

 
 

bug #33103: Block comment within cell treated incorrectly

Submitted by:  None
Submitted on:  Sat 16 Apr 2011 07:26:17 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 13 Mar 2013 01:48:32 AM UTC, comment #6:

Marking bug as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 13 Mar 2013 12:40:16 AM UTC, comment #5:

Block comments do work properly in this context with the new parser/lexer.

John W. Eaton <jwe>
Project Administrator
Tue 12 Mar 2013 11:35:31 PM UTC, comment #4:

The parser does support single line comments in cell declarations.

works as expected.

The parser is currently (3/12/2013) undergoing a significant overhaul by jwe. Perhaps it would be appropriate to tackle this bug report at this time.

Rik <rik5>
Project Administrator
Tue 19 Apr 2011 01:43:33 AM UTC, comment #3:

Yes, Octave supports block comments in some but not all contexts.

John W. Eaton <jwe>
Project Administrator
Sun 17 Apr 2011 05:01:12 AM UTC, comment #2:

I was unaware that block comments existed for Matlab. But they do.

http://www.mathworks.com/support/solutions/en/data/1-17Y20/index.html?product=ML

Block comments are also supported by Octave.

http://www.gnu.org/software/octave/doc/interpreter/Block-Comments.html

Ben Abbott <bpabbott>
Project Member
Sat 16 Apr 2011 10:00:08 PM UTC, comment #1:

Confirmed on the development branch of the code as well.

Rik <rik5>
Project Administrator
Sat 16 Apr 2011 07:26:17 PM UTC, original submission:

Octave does not treat block comments within a Cell declaration correctly. Example:

Running in octave 3.2.3 on Linux or 3.4.0 on Mac:

Running in MATLAB 7.9.0.529 (R2009b):

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 13 Mar 2013 01:48:32 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 16 Apr 2011 10:00:08 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1