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

 
 

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

Submitted by:  None
Submitted on:  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

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)

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>
Project Administrator
Sat 23 Mar 2013 09:00:12 PM UTC, comment #5:

I checked in the following change:

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

John W. Eaton <jwe>
Project 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>
Project Administrator
Thu 21 Mar 2013 06:28:09 PM UTC, comment #3:

Confirmed with Mercurial revision 16353:ca395af72d88.

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

Oops, I read this too quickly.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
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 <ttl>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can 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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sun 24 Mar 2013 03:39:21 PM UTC rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    Thu 21 Mar 2013 06:34:35 PM UTC jordigh Item GroupIncorrect Result => Regression
    Thu 21 Mar 2013 06:28:09 PM UTC rik5 StatusNone => Confirmed
    Thu 21 Mar 2013 06:18:58 PM UTC jordigh StatusDuplicate => None
        Open/ClosedClosed => Open
    Thu 21 Mar 2013 06:18:38 PM UTC jordigh DependenciesRemoved dependancy to bugs #38560 => -
    Thu 21 Mar 2013 05:02:11 PM UTC jordigh Open/ClosedOpen => Closed
        Dependencies- => Depends on bugs #38560
    Thu 21 Mar 2013 05:01:33 PM UTC jordigh StatusNone => Duplicate

    Back to the top


    Powered by Savane 3.1-cleanup1