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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: John DonoghueOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 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 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 rik5 (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by None (Submitted the item)
  •  

    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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 24 Mar 2013 03:39:21 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 21 Mar 2013 06:34:35 PM UTCjordighItem GroupIncorrect Result=>Regression
    Thu 21 Mar 2013 06:28:09 PM UTCrik5StatusNone=>Confirmed
    Thu 21 Mar 2013 06:18:58 PM UTCjordighStatusDuplicate=>None
      Open/ClosedClosed=>Open
    Thu 21 Mar 2013 06:18:38 PM UTCjordighDependenciesRemoved dependancy to bugs #38560=>-
    Thu 21 Mar 2013 05:02:11 PM UTCjordighOpen/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #38560
    Thu 21 Mar 2013 05:01:33 PM UTCjordighStatusNone=>Duplicate

    Back to the top


    Powered by Savane 3.1-cleanup1