bugGNU Octave - Bugs: bug #38559, Multiline comment not recognized...

 
 

bug #38559: Multiline comment not recognized after a single line comment.

Submitter:  None
Submitted:  Thu 21 Mar 2013 01:17:08 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  John Donoghue Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 24 Mar 2013 02:43:26 PM UTC, comment #6: 

Fixed for me.  I'm closing report, but note bug #38579 which is related and still open.

Rik <rik5>
Group administrator
Sat 23 Mar 2013 09:00:12 PM UTC, comment #5: 
John W. Eaton <jwe>
Group administrator
Thu 21 Mar 2013 06:34:35 PM UTC, comment #4: 

Not present on the stable branch. Probably another hiccup with the interpreter overhaul.

But hey, if we can't break things on the dev branch, then where can we? ;-)

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Thu 21 Mar 2013 06:28:09 PM UTC, comment #3: 

Confirmed with Mercurial revision 16353:ca395af72d88.

Rik <rik5>
Group administrator
Thu 21 Mar 2013 06:18:58 PM UTC, comment #2: 

Oops, I read this too quickly.

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Thu 21 Mar 2013 06:08:08 PM UTC, comment #1: 

I don't think this bug is a duplicate of bug #38560.

This one applies to the parser which ignores a multi-line comment if its beginning is preceded by a single-line comment. Bug #38560 applies to the editor of the gui where all multi-line are ignored by the syntax highlighting.

Torsten Lilge <ttl>
Group Member
Thu 21 Mar 2013 01:17:08 AM UTC, original submission:  

If a script is written as such:
% a comment
%{
 dont do anything here
%}

The multiline comment commenting is ignored and the parser tries to execute the commented lines.

The same thing happens with the #{ #} multiline comment.

In matlab, it appears to work as expected.

Anonymous

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by None (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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-03-24 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2013-03-21 jordigh Item GroupIncorrect Result Regression
    2013-03-21 rik5 StatusNone Confirmed
    2013-03-21 jordigh StatusDuplicate None
        Open/ClosedClosed Open
    2013-03-21 jordigh DependenciesRemoved dependency to bugs #38560 -
    2013-03-21 jordigh Open/ClosedOpen Closed
        Dependencies- Depends on bugs #38560
    2013-03-21 jordigh StatusNone Duplicate

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code