bugGNU Octave - Bugs: bug #38579, Nested multiline comments not...

 
 

bug #38579: Nested multiline comments not recognised correctly

Submitted by:  None
Submitted on:  Sun 24 Mar 2013 07:08:27 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: John DonoghueOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 24 Mar 2013 05:25:36 PM UTC, comment #2:

Thanks, I made this change and checked it in:

http://hg.savannah.gnu.org/hgweb/octave/rev/1e064963c90a

John W. Eaton <jwe>
Project Administrator
Sun 24 Mar 2013 02:48:47 PM UTC, comment #1:

A slightly easier to follow example which illustrates the same thing.

Rik <rik5>
Project Administrator
Sun 24 Mar 2013 07:08:27 AM UTC, original submission:

When encountering commands in a nested multiline comment, the lines after the first closed multiline comment are still run.

Example:
%{
not run
%{
not run
%}
will run line
%}
will run line

Faileds in dev version as release version 3.6.4 works correctly.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27669:  38579_nexted_comment.patch added by None (482B - text/x-patch - Patch to lex.ll for nested multiline comments)

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 25 Mar 2013 03:08:20 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Sun 24 Mar 2013 01:24:09 PM UTCjordighStatusNone=>Patch Submitted
    Sun 24 Mar 2013 11:35:02 AM UTCNoneAttached File-=>Added 38579_nexted_comment.patch, #27669

    Back to the top


    Powered by Savane 3.1-cleanup